mirror of https://github.com/ARMmbed/mbed-os.git
TESTS: Allow NSAPI_ERROR_NO_MEMORY on UDPSOCKET_ECHOTEST_BURST
parent
d5abab8843
commit
6b374804be
|
@ -100,7 +100,9 @@ void UDPSOCKET_ECHOTEST_BURST()
|
||||||
if (check_oversized_packets(sent, tx_buffers[x].len)) {
|
if (check_oversized_packets(sent, tx_buffers[x].len)) {
|
||||||
TEST_IGNORE_MESSAGE("This device does not handle oversized packets");
|
TEST_IGNORE_MESSAGE("This device does not handle oversized packets");
|
||||||
}
|
}
|
||||||
TEST_ASSERT_EQUAL(tx_buffers[x].len, sent);
|
if (sent != NSAPI_ERROR_NO_MEMORY) {
|
||||||
|
TEST_ASSERT_EQUAL(tx_buffers[x].len, sent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bt_total = 0;
|
bt_total = 0;
|
||||||
|
|
Loading…
Reference in New Issue