From 7d0d736856d2b7c13d75336caf01013f9f7fb7f0 Mon Sep 17 00:00:00 2001 From: georgehao Date: Thu, 19 Oct 2023 18:57:41 +0800 Subject: [PATCH] feat: update start success info --- coordinator/cmd/api/app/app.go | 2 +- coordinator/cmd/api/app/mock_app.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coordinator/cmd/api/app/app.go b/coordinator/cmd/api/app/app.go index f656a1180c..10c6c46c8a 100644 --- a/coordinator/cmd/api/app/app.go +++ b/coordinator/cmd/api/app/app.go @@ -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, ) diff --git a/coordinator/cmd/api/app/mock_app.go b/coordinator/cmd/api/app/mock_app.go index 5395cfeb88..dafaeba25b 100644 --- a/coordinator/cmd/api/app/mock_app.go +++ b/coordinator/cmd/api/app/mock_app.go @@ -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.