Skip to content

Commit 4035874

Browse files
author
Bret Ambrose
committed
Reset flag between connection attempts
1 parent 061bf08 commit 4035874

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/IotServiceTest.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ static int s_TestIotPublishSubscribe(Aws::Crt::Allocator *allocator, void *ctx)
249249
}
250250
else
251251
{
252+
connectionAttemptComplete = false;
252253
std::this_thread::sleep_for(std::chrono::seconds(2));
253254
}
254255
}

0 commit comments

Comments
 (0)