ublox-at-cellular-interface-n2xx
Diff: TESTS/unit_tests/default/main.cpp
- Revision:
- 15:21c509b1e214
- Parent:
- 9:f6d022f5c4f5
diff -r 7fb0bbdc4242 -r 21c509b1e214 TESTS/unit_tests/default/main.cpp --- a/TESTS/unit_tests/default/main.cpp Wed Feb 13 10:48:13 2019 +0500 +++ b/TESTS/unit_tests/default/main.cpp Mon Jan 06 14:49:22 2020 +0500 @@ -304,7 +304,7 @@ TEST_ASSERT(strcmp(sender_address.get_ip_address(), host_address->get_ip_address()) == 0); TEST_ASSERT(sender_address.get_port() == host_address->get_port()); } - wait_ms(10); + ThisThread::sleep_for(10); } timer.stop(); timer.reset(); @@ -344,7 +344,7 @@ count += x; tr_debug("%d byte(s) sent, %d left to send.", count, size - count); } - wait_ms(10); + ThisThread::sleep_for(10); } timer.stop(); @@ -374,7 +374,7 @@ recv_size += x; tr_debug("%d byte(s) echoed back so far, %d to go.", recv_size, size - recv_size); } - wait_ms(10); + ThisThread::sleep_for(10); } TEST_ASSERT(recv_size == size); y = memcmp(send_data, recv_data, size);