Skip to content

Commit

Permalink
Relaxing timings
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Jul 22, 2022
1 parent 73c4256 commit dfccdb1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void testCalloutExpiryFixedNoEvent() throws Throwable {
Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));

Thread.sleep(1000);
Thread.sleep(800);

Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));
Expand All @@ -83,7 +83,7 @@ void testCalloutExpiryFixedNoEvent() throws Throwable {
Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));

Thread.sleep(1000);
Thread.sleep(800);

Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));
Expand All @@ -107,7 +107,7 @@ void testCalloutExpiryFixedWithEvent() throws Throwable {
Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));

Thread.sleep(1000);
Thread.sleep(800);

Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));
Expand All @@ -128,7 +128,7 @@ void testCalloutExpiryFixedWithEvent() throws Throwable {
Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));

Thread.sleep(1000);
Thread.sleep(800);

Assert.assertFalse(call.isExpired());
MatcherAssert.assertThat(data.getCurrentVisualCalls(), Matchers.hasSize(1));
Expand Down

0 comments on commit dfccdb1

Please sign in to comment.