Merge pull request #7880 from juhaylinen/fix-greentea-emac-timeout

Update Greentea EMAC tests
pull/7906/merge
Martin Kojtal 2018-08-28 14:38:08 +02:00 committed by GitHub
commit 32445ae326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ void test_emac_initialize()
#endif #endif
// Power up the interface and emac driver // Power up the interface and emac driver
network_interface->connect(); TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, network_interface->connect());
worker_loop_link_up_wait(); worker_loop_link_up_wait();
} }

View File

@ -53,7 +53,7 @@ using namespace utest::v1;
utest::v1::status_t test_setup(const size_t number_of_cases) utest::v1::status_t test_setup(const size_t number_of_cases)
{ {
#if !MBED_CONF_APP_ECHO_SERVER #if !MBED_CONF_APP_ECHO_SERVER
GREENTEA_SETUP(600, "default_auto"); GREENTEA_SETUP(1200, "default_auto");
#endif #endif
return verbose_test_setup_handler(number_of_cases); return verbose_test_setup_handler(number_of_cases);
} }