mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 09:56:31 +02:00
restore original timeout
This commit is contained in:
parent
5f83a15688
commit
0df62fee10
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ func TestLookup(t *testing.T) {
|
|||
net.DefaultResolver = stubResolver(t)
|
||||
t.Cleanup(func() { net.DefaultResolver = originalDefaultResolver })
|
||||
|
||||
ctx, clearTimeout := context.WithTimeout(context.Background(), time.Second*1000)
|
||||
ctx, clearTimeout := context.WithTimeout(context.Background(), time.Second*10)
|
||||
t.Cleanup(clearTimeout)
|
||||
|
||||
cfg, err := ParseConfig("host=localhost")
|
||||
|
|
Loading…
Add table
Reference in a new issue