From f34a5a631a7d221ceba8b06605e1e28b36b2d3cc Mon Sep 17 00:00:00 2001 From: Nic Klaassen Date: Fri, 24 Jan 2025 17:03:22 -0800 Subject: [PATCH] remove test 100ms dial timeout for ci --- lib/vnet/vnet_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vnet/vnet_test.go b/lib/vnet/vnet_test.go index ecfdcb9befde4..f0b3f3f97e1b5 100644 --- a/lib/vnet/vnet_test.go +++ b/lib/vnet/vnet_test.go @@ -908,16 +908,16 @@ func TestRemoteAppProvider(t *testing.T) { appProvider: remoteAppProvider, }) - dialCtx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) - defer cancel() for _, app := range []string{ "echo.root.example.com", "echo.leaf.example.com", } { - conn, err := p.dialHost(dialCtx, app, 123) + conn, err := p.dialHost(ctx, app, 123) require.NoError(t, err) testEchoConnection(t, conn) } + dialCtx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) + defer cancel() _, err = p.dialHost(dialCtx, "badapp.root.example.com.", 123) require.Error(t, err) }