From c2f77109d95bfd3feaf79ba1a7146689df30af11 Mon Sep 17 00:00:00 2001 From: drawing Date: Wed, 6 Nov 2024 15:38:46 +0800 Subject: [PATCH] fix nameserver testcase --- tests/nginx-tests/tengine-tests/dynamic_resolve.t | 2 +- tests/nginx-tests/tengine-tests/vnswrr4dynamic_ups.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/nginx-tests/tengine-tests/dynamic_resolve.t b/tests/nginx-tests/tengine-tests/dynamic_resolve.t index 262b3000a1..ed3f6a64ac 100644 --- a/tests/nginx-tests/tengine-tests/dynamic_resolve.t +++ b/tests/nginx-tests/tengine-tests/dynamic_resolve.t @@ -258,7 +258,7 @@ sub dns_server_daemon { Verbose => 0 ) or die "couldn't create nameserver object\n"; - $ns->main_loop; + $ns->start_server; } ############################################################################### diff --git a/tests/nginx-tests/tengine-tests/vnswrr4dynamic_ups.t b/tests/nginx-tests/tengine-tests/vnswrr4dynamic_ups.t index d0e17b1a06..c65fec4abd 100644 --- a/tests/nginx-tests/tengine-tests/vnswrr4dynamic_ups.t +++ b/tests/nginx-tests/tengine-tests/vnswrr4dynamic_ups.t @@ -255,7 +255,7 @@ sub dns_server_daemon { Verbose => 0 ) or die "couldn't create nameserver object\n"; - $ns->main_loop; + $ns->start_server; } ###############################################################################