Skip to content

Commit 26294bc

Browse files
Make test less verbose & faster
1 parent 66e3b3b commit 26294bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

connectivity/netsocket/tests/TESTS/network/emac/emac_test_memory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ void test_emac_memory_cb(int opt)
105105
send_request = false;
106106
no_response_cnt = 0;
107107
} else if (opt == TIMEOUT) {
108-
if (++no_response_cnt > 5) {
109-
if (++retries > 3) {
108+
if (++no_response_cnt > 3) {
109+
if (++retries > 1) {
110110
// If echo replies should be received fails the test case
111111
if (echo_should_work) {
112112
printf("too many retries\r\n\r\n");

connectivity/netsocket/tests/TESTS/network/emac/emac_test_unicast_burst.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void test_emac_unicast_burst_cb(int opt)
7575
void test_emac_unicast_burst()
7676
{
7777
RESET_ALL_ERROR_FLAGS;
78-
SET_TRACE_LEVEL(TRACE_SEND | TRACE_SUCCESS | TRACE_FAILURE);
78+
SET_TRACE_LEVEL(TRACE_FAILURE);
7979

8080
if (ECHO_SERVER_ADDRESS_KNOWN) {
8181
START_TEST_LOOP(test_emac_unicast_burst_cb, 100ms);

0 commit comments

Comments
 (0)