@@ -158,10 +158,6 @@ void generaltest()
158158 while (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now () - lastheard).count () < 2000 ) {
159159 std::this_thread::sleep_for (200ms);
160160 }
161-
162- std::this_thread::sleep_for (200ms);
163- assert (clientctx->get_DataPending () == 0 );
164- assert (listenerctx->get_DataPending () == 0 );
165161}
166162void generalTLStest ()
167163{
@@ -264,8 +260,6 @@ void generalTLStest()
264260 std::this_thread::sleep_for (200ms);
265261 }
266262 std::this_thread::sleep_for (200ms);
267- assert (clientctx->get_DataPending () == 0 );
268- assert (listenerctx->get_DataPending () == 0 );
269263}
270264
271265void multithreadtest ()
@@ -328,11 +322,6 @@ void multithreadtest()
328322 while (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now () - lastheard).count () < 2000 ) {
329323 std::this_thread::sleep_for (200ms);
330324 }
331- std::this_thread::sleep_for (200ms);
332- for (auto &c : clients) {
333- assert (c->get_DataPending () == 0 );
334- }
335- assert (listenerctx->get_DataPending () == 0 );
336325}
337326const auto bufferesize = 1024 * 1024 * 10 ;
338327void multithreadthroughputtest ()
@@ -408,10 +397,6 @@ void multithreadthroughputtest()
408397 std::this_thread::sleep_for (200ms);
409398 }
410399 std::this_thread::sleep_for (200ms);
411- for (auto &c : clients) {
412- assert (c->get_DataPending () == 0 );
413- }
414- assert (listenerctx->get_DataPending () == 0 );
415400 std::cout << " Received " << mbsreceived << " bytes" << std::endl;
416401}
417402int main (int argc, char *argv[])
0 commit comments