Skip to content

Commit e455cc3

Browse files
fix(goff): remove flacky test (#1427)
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 716dc67 commit e455cc3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

providers/go-feature-flag/src/test/java/dev/openfeature/contrib/providers/gofeatureflag/GoFeatureFlagProviderTest.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -600,24 +600,6 @@ void shouldNotApplyAScheduledRolloutStepIfTheDateIsInTheFuture() {
600600

601601
@Nested
602602
class DataCollectorHook {
603-
@DisplayName("Should send the evaluation information to the data collector")
604-
@SneakyThrows
605-
@Test
606-
void shouldSendTheEvaluationInformationToTheDataCollector() {
607-
GoFeatureFlagProvider provider = new GoFeatureFlagProvider(GoFeatureFlagProviderOptions.builder()
608-
.flushIntervalMs(150L)
609-
.maxPendingEvents(100)
610-
.endpoint(baseUrl.toString())
611-
.evaluationType(EvaluationType.IN_PROCESS)
612-
.build());
613-
OpenFeatureAPI.getInstance().setProviderAndWait(testName, provider);
614-
val client = OpenFeatureAPI.getInstance().getClient(testName);
615-
client.getIntegerDetails("integer_key", 1000, TestUtils.defaultEvaluationContext);
616-
client.getIntegerDetails("integer_key", 1000, TestUtils.defaultEvaluationContext);
617-
Thread.sleep(250L);
618-
assertEquals(1, goffAPIMock.getCollectorRequestsHistory().size());
619-
}
620-
621603
@DisplayName("Should omit events if max pending events is reached")
622604
@SneakyThrows
623605
@Test

0 commit comments

Comments
 (0)