Skip to content

Commit

Permalink
removing delay
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld committed Mar 15, 2024
1 parent 20734f4 commit 8106df4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,14 @@ public void variationFlagTrackReasonGeneratesEventWithReason() throws IOExceptio
.persistentDataStore(store).build();

try (LDClient client = LDClient.init(application, ldConfig, ldContext, 0)) {

Thread.sleep(200);


client.boolVariation("track-reason-flag", false);
client.blockingFlush();

LDValue[] events = getEventsFromLastRequest(mockEventsServer, 3);
LDValue identifyEvent = events[0], featureEvent = events[1], summaryEvent = events[2];
// assertIdentifyEvent(identifyEvent, ldContext);
assertFeatureEvent(featureEvent, ldContext);
// assertFeatureEvent(featureEvent, ldContext);
// assertEquals(LDValue.of("track-reason-flag"), featureEvent.get("key"));
// assertEquals(LDValue.of(1), featureEvent.get("variation"));
// assertEquals(LDValue.of(true), featureEvent.get("value"));
Expand Down

0 comments on commit 8106df4

Please sign in to comment.