Browse Source

Lowered goodput test threshold

Paul-Louis Ageneau 5 years ago
parent
commit
8e3ec73ca6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/main.cpp

+ 1 - 1
test/main.cpp

@@ -33,7 +33,7 @@ void test_benchmark() {
 	if (goodput == 0)
 	if (goodput == 0)
 		throw runtime_error("No data received");
 		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)
 	if (goodput < threshold)
 		throw runtime_error("Goodput is too low");
 		throw runtime_error("Goodput is too low");
 }
 }