Răsfoiți Sursa

Lowered goodput test threshold

Paul-Louis Ageneau 5 ani în urmă
părinte
comite
8e3ec73ca6
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      test/main.cpp

+ 1 - 1
test/main.cpp

@@ -33,7 +33,7 @@ void test_benchmark() {
 	if (goodput == 0)
 		throw runtime_error("No data received");
 
-	const size_t threshold = 5000; // 5 MB/s;
+	const size_t threshold = 1000; // 1 MB/s;
 	if (goodput < threshold)
 		throw runtime_error("Goodput is too low");
 }