Skip to content

Commit

Permalink
Refs #20653: Increase sleep to miss the deadline in test exclusive_ki…
Browse files Browse the repository at this point in the history
…nd_keyed_reliable_deadline

Signed-off-by: elianalf <[email protected]>
  • Loading branch information
elianalf committed Apr 2, 2024
1 parent 7fea8ef commit b185210
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/blackbox/common/DDSBlackboxTestsOwnershipQos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ TEST_P(OwnershipQos, exclusive_kind_non_keyed_reliable_deadline)
writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(110));
std::this_thread::sleep_for(std::chrono::milliseconds(80));

writer1.send_sample(data.front());
data.pop_front();
Expand Down Expand Up @@ -800,49 +800,49 @@ TEST_P(OwnershipQos, exclusive_kind_keyed_reliable_deadline)
data.pop_front();
writer1.send_sample(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(30));

writer2.send_sample(data.front());
data.pop_front();
writer2.send_sample(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(30));

writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(30));

writer2.send_sample(data.front());
data.pop_front();
writer2.send_sample(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(30));

writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(30));

writer2.send_sample(data.front());
data.pop_front();
writer2.send_sample(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(30));

writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(80));

writer1.send_sample(data.front());
data.pop_front();
Expand All @@ -853,7 +853,7 @@ TEST_P(OwnershipQos, exclusive_kind_keyed_reliable_deadline)
writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(80));

writer1.send_sample(data.front());
data.pop_front();
Expand All @@ -864,7 +864,7 @@ TEST_P(OwnershipQos, exclusive_kind_keyed_reliable_deadline)
writer1.send_sample(data.front());
denied_samples.push_back(data.front());
data.pop_front();
std::this_thread::sleep_for(std::chrono::milliseconds(50));
std::this_thread::sleep_for(std::chrono::milliseconds(80));

writer1.send_sample(data.front());
data.pop_front();
Expand Down

0 comments on commit b185210

Please sign in to comment.