We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 356c4fb + 2b9e1f3 commit 3c2dd9cCopy full SHA for 3c2dd9c
TESTS/network/interface/networkinterface_status.cpp
@@ -131,6 +131,10 @@ void NETWORKINTERFACE_STATUS_NONBLOCK()
131
132
status = wait_status_callback();
133
TEST_ASSERT_EQUAL(NSAPI_STATUS_DISCONNECTED, status);
134
+
135
+ wait(1); // In cellular there might still come disconnected messages from the network which are sent to callback.
136
+ // This would cause this test to fail as next connect is already ongoing. So wait here a while until (hopefully)
137
+ // all messages also from the network have arrived.
138
}
139
140
net->attach(NULL);
0 commit comments