diff options
-rw-r--r-- | pkg/tcpip/stack/linkaddrcache_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/linkaddrcache_test.go b/pkg/tcpip/stack/linkaddrcache_test.go index 651fa17ac..77a09ca86 100644 --- a/pkg/tcpip/stack/linkaddrcache_test.go +++ b/pkg/tcpip/stack/linkaddrcache_test.go @@ -237,8 +237,8 @@ func TestCacheResolutionFailed(t *testing.T) { } func TestCacheResolutionTimeout(t *testing.T) { - resolverDelay := 50 * time.Millisecond - expiration := resolverDelay / 2 + resolverDelay := 500 * time.Millisecond + expiration := resolverDelay / 10 c := newLinkAddrCache(expiration, 1*time.Millisecond, 3) linkRes := &testLinkAddressResolver{cache: c, delay: resolverDelay} |