Skip to content

Commit 8325e1d

Browse files
Update test method names to use context instead of contextKeys
Co-Authored-By: jbailey@launchdarkly.com <accounts@sidewaysgravity.com>
1 parent 27e898b commit 8325e1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/sdk/server/src/test/java/com/launchdarkly/sdk/server/ServerSideEventContextDeduplicatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void configuredFlushIntervalIsReturned() {
2323
}
2424

2525
@Test
26-
public void singleKindContextKeysAreDeduplicated() {
26+
public void singleKindContextIsDeduplicated() {
2727
EventContextDeduplicator ecd = new ServerSideEventContextDeduplicator(1000, LONG_INTERVAL);
2828

2929
assertThat(ecd.processContext(LDContext.create("a")), is(true));

lib/shared/internal/src/test/java/com/launchdarkly/sdk/internal/events/DefaultEventProcessorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ public void nothingIsSentIfThereAreNoEvents() throws Exception {
111111
}
112112

113113
@Test
114-
public void contextKeysAreFlushedAutomatically() throws Exception {
115-
// This test sets the context key flush interval to a small value and verifies that the
114+
public void contextIsFlushedAutomatically() throws Exception {
115+
// This test sets the context flush interval to a small value and verifies that the
116116
// context deduplicator receives a flush call.
117117
MockEventSender es = new MockEventSender();
118118
long briefContextFlushIntervalMillis = 60;

0 commit comments

Comments
 (0)