diff options
Diffstat (limited to 'integrationtests/dtailhealthcheck_test.go')
| -rw-r--r-- | integrationtests/dtailhealthcheck_test.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/integrationtests/dtailhealthcheck_test.go b/integrationtests/dtailhealthcheck_test.go index a99bfdc..bb6c146 100644 --- a/integrationtests/dtailhealthcheck_test.go +++ b/integrationtests/dtailhealthcheck_test.go @@ -53,14 +53,18 @@ func TestDTailHealthCheck3(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() - startCommand(ctx, + _, _, _, err := startCommand(ctx, "../dserver", "--logger", "stdout", "--logLevel", "trace", "--port", "4242", ) + if err != nil { + t.Error(err) + return + } - _, err := runCommandRetry(ctx, 10, stdoutFile, + _, err = runCommandRetry(ctx, 10, stdoutFile, "../dtailhealthcheck", "--server", "localhost:4242") if err != nil { t.Error(err) |
