From 07d654f76e1002b6ac18a43aab3c64797dcd2a32 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 13 Mar 2026 12:46:20 +0200 Subject: Harden integration server startup checks --- integrationtests/dtail_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'integrationtests/dtail_test.go') diff --git a/integrationtests/dtail_test.go b/integrationtests/dtail_test.go index cfa96c8..1db96ee 100644 --- a/integrationtests/dtail_test.go +++ b/integrationtests/dtail_test.go @@ -197,8 +197,10 @@ func testDTailColorTableWithServer(t *testing.T, logger *TestLogger) { return } - // Give server time to start - time.Sleep(500 * time.Millisecond) + if err := waitForServerReady(ctx, bindAddress, port); err != nil { + t.Error(err) + return + } _, err = runCommand(ctx, t, outFile, "../dtail", "--colorTable", -- cgit v1.2.3