Skip to content

Commit

Permalink
Reset flag between connection attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
Bret Ambrose committed Jan 14, 2025
1 parent 061bf08 commit 4035874
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/IotServiceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ static int s_TestIotPublishSubscribe(Aws::Crt::Allocator *allocator, void *ctx)
}
else
{
connectionAttemptComplete = false;
std::this_thread::sleep_for(std::chrono::seconds(2));
}
}
Expand Down

0 comments on commit 4035874

Please sign in to comment.