Skip to content

Commit

Permalink
remove test 100ms dial timeout for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nklaassen committed Jan 25, 2025
1 parent 96d6c8c commit f34a5a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/vnet/vnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f34a5a6

Please sign in to comment.