From c0f4ebc9b3773c37e22c686024c8cc7ce4e71f9f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 11 Oct 2021 11:51:30 +0300 Subject: add dtail integration test --- integrationtests/dtailhealthcheck_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'integrationtests/dtailhealthcheck_test.go') 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) -- cgit v1.2.3