From dfccdb1c7afc3fcba074cdf4f696ff3c354e3bbb Mon Sep 17 00:00:00 2001 From: xp Date: Fri, 22 Jul 2022 12:57:01 -0700 Subject: [PATCH] Relaxing timings --- .../java/gg/xp/xivsupport/callouts/CalloutExpiryTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xivsupport/src/test/java/gg/xp/xivsupport/callouts/CalloutExpiryTest.java b/xivsupport/src/test/java/gg/xp/xivsupport/callouts/CalloutExpiryTest.java index 31a404706fe4..f3ae44dc5c0d 100644 --- a/xivsupport/src/test/java/gg/xp/xivsupport/callouts/CalloutExpiryTest.java +++ b/xivsupport/src/test/java/gg/xp/xivsupport/callouts/CalloutExpiryTest.java @@ -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)); @@ -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)); @@ -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)); @@ -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));