summaryrefslogtreecommitdiff
path: root/integrationtests/dtailhealthcheck_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-11 11:51:30 +0300
committerPaul Buetow <paul@buetow.org>2021-10-11 11:52:30 +0300
commitc0f4ebc9b3773c37e22c686024c8cc7ce4e71f9f (patch)
tree300cba741e332ffb34eb1bd3df5c03fdb9e1013d /integrationtests/dtailhealthcheck_test.go
parent71f89dc7ec7cf993d1eca98771212afe6310e9c8 (diff)
add dtail integration test
Diffstat (limited to 'integrationtests/dtailhealthcheck_test.go')
-rw-r--r--integrationtests/dtailhealthcheck_test.go8
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)