Skip to content

Commit 228f7e8

Browse files
author
Teppo Järvelin
committed
Cellular tests: fixed cellular greentea tests by adding timeout as it may take time to register, attach and connect to network.
1 parent 79bd263 commit 228f7e8

File tree

1 file changed

+1
-0
lines changed
  • features/cellular/TESTS/cellular/cellular_all

1 file changed

+1
-0
lines changed

features/cellular/TESTS/cellular/cellular_all/network.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static bool wait_register()
7171

7272
void test_attach()
7373
{
74+
cellularDevice.set_timeout(120*1000); // 120 second timeout for at commands after power is up. It might take time to register, attach and connect
7475
tr_info("Register to network.");
7576
TEST_ASSERT(wait_register());
7677
tr_info("Attach to network.");

0 commit comments

Comments
 (0)