Răsfoiți Sursa

test-case: fix test case failure issue.

Nick Peng 2 ani în urmă
părinte
comite
0f68f0c11d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      test/cases/test-speed-check.cc

+ 1 - 1
test/cases/test-speed-check.cc

@@ -235,7 +235,7 @@ TEST_F(SpeedCheck, tcp_faster_than_ping)
 		return smartdns::SERVER_REQUEST_SOA;
 	});
 
-	server.MockPing(PING_TYPE_ICMP, "1.2.3.4", 60, 300);
+	server.MockPing(PING_TYPE_ICMP, "1.2.3.4", 60, 350);
 	server.MockPing(PING_TYPE_TCP, "5.6.7.8:80", 60, 10);
 	server.Start(R"""(bind [::]:60053
 server 127.0.0.1:61053