Skip to content

Commit

Permalink
feat: update start success info
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Oct 19, 2023
1 parent 8524c5b commit 7d0d736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coordinator/cmd/api/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func action(ctx *cli.Context) error {
apiSrv := apiServer(ctx, cfg, db, registry)

log.Info(
"Start coordinator successfully.",
"Start coordinator api successfully.",
"version", version.Version,
)

Expand Down
2 changes: 1 addition & 1 deletion coordinator/cmd/api/app/mock_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func NewCoordinatorApp(base *docker.App, file string) *CoordinatorApp {
// RunApp run coordinator-test child process by multi parameters.
func (c *CoordinatorApp) RunApp(t *testing.T, args ...string) {
c.AppAPI = cmd.NewCmd(string(utils.CoordinatorAPIApp), append(c.args, args...)...)
c.AppAPI.RunApp(func() bool { return c.AppAPI.WaitResult(t, time.Second*20, "Start coordinator successfully") })
c.AppAPI.RunApp(func() bool { return c.AppAPI.WaitResult(t, time.Second*20, "Start coordinator api successfully") })
}

// Free stop and release coordinator-test.
Expand Down

0 comments on commit 7d0d736

Please sign in to comment.