Skip to content

Commit 32445ae

Browse files
authored
Merge pull request #7880 from juhaylinen/fix-greentea-emac-timeout
Update Greentea EMAC tests
2 parents 16d2370 + 4a66eb6 commit 32445ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TESTS/network/emac/emac_test_initialize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void test_emac_initialize()
6565
#endif
6666

6767
// Power up the interface and emac driver
68-
network_interface->connect();
68+
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, network_interface->connect());
6969

7070
worker_loop_link_up_wait();
7171
}

TESTS/network/emac/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ using namespace utest::v1;
5353
utest::v1::status_t test_setup(const size_t number_of_cases)
5454
{
5555
#if !MBED_CONF_APP_ECHO_SERVER
56-
GREENTEA_SETUP(600, "default_auto");
56+
GREENTEA_SETUP(1200, "default_auto");
5757
#endif
5858
return verbose_test_setup_handler(number_of_cases);
5959
}

0 commit comments

Comments
 (0)