Skip to content

Commit

Permalink
fix kSleepTimeMilliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
kpschoedel committed Aug 11, 2021
1 parent 83d35c3 commit b12411a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/inet/tests/TestInetEndPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static void TestResolveHostAddress(nlTestSuite * inSuite, void * inContext)
char testHostName4[260];
IPAddress testDestAddr[1] = { IPAddress::Any };
CHIP_ERROR err;
constexpr uint32_t kSleepTimeMilliseconds = 100;
constexpr uint32_t kSleepTimeMilliseconds = 10;

memset(testHostName4, 'w', sizeof(testHostName4));
testHostName4[259] = '\0';
Expand Down
2 changes: 1 addition & 1 deletion src/inet/tests/TestInetLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ int main(int argc, char * argv[])
bool lSucceeded = true;
bool lFailed = false;

constexpr uint32_t kSleepTimeMilliseconds = 100;
constexpr uint32_t kSleepTimeMilliseconds = 10;
ServiceNetwork(kSleepTimeMilliseconds);

CheckSucceededOrFailed(sTestState, lSucceeded, lFailed);
Expand Down
2 changes: 1 addition & 1 deletion src/inet/tests/TestInetLayerDNS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ static void HandleResolutionComplete(void * appState, CHIP_ERROR err, uint8_t ad
static void ServiceNetworkUntilDone(uint32_t timeoutMilliseconds)
{
uint64_t timeoutTimeMilliseconds = System::Clock::GetMonotonicMilliseconds() + timeoutMilliseconds;
constexpr uint32_t kSleepTimeMilliseconds = 100;
constexpr uint32_t kSleepTimeMilliseconds = 10;

while (!gDone)
{
Expand Down
2 changes: 1 addition & 1 deletion src/inet/tests/TestInetLayerMulticast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ int main(int argc, char * argv[])
bool lSucceeded = true;
bool lFailed = false;

constexpr uint32_t kSleepTimeMilliseconds = 100;
constexpr uint32_t kSleepTimeMilliseconds = 10;
ServiceNetwork(kSleepTimeMilliseconds);

CheckSucceededOrFailed(sTestState, lSucceeded, lFailed);
Expand Down
2 changes: 1 addition & 1 deletion src/inet/tests/TestLwIPDNS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void TestLwIPDNS(void)

while (!Done)
{
constexpr uint32_t kSleepTimeMilliseconds = 100;
constexpr uint32_t kSleepTimeMilliseconds = 10;
ServiceNetwork(kSleepTimeMilliseconds);
}

Expand Down

0 comments on commit b12411a

Please sign in to comment.