From fa52d51025c4916e12a62f2589f37efee6022263 Mon Sep 17 00:00:00 2001 From: Katia Fredes Date: Thu, 2 Nov 2023 16:21:29 -0300 Subject: [PATCH] fix: constructor asyn resolver test --- src/resolver/async_resolver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolver/async_resolver.rs b/src/resolver/async_resolver.rs index 6164d681..62e27f64 100644 --- a/src/resolver/async_resolver.rs +++ b/src/resolver/async_resolver.rs @@ -116,7 +116,7 @@ mod async_resolver_test { let config = ResolverConfig::default(); let resolver = AsyncResolver::new(config.clone()); assert_eq!(resolver.config, config); - assert_eq!(resolver.config.get_timeout(), Duration::from_secs(10)); + assert_eq!(resolver.config.get_timeout(), Duration::from_secs(TIMEOUT)); }