Skip to content

Commit 07cf7e3

Browse files
committed
comment updates
1 parent 52558a5 commit 07cf7e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/uid2/optout/vertx/OptOutSqsLogProducerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,8 @@ public void testManualOverride_delayedProcessing(VertxTestContext testContext) t
804804
@Test
805805
public void testTrafficCalculator_detectsSpikeInCurrentWindow(VertxTestContext testContext) throws Exception {
806806
// threshold = baseline * multiplier = 100 * 5 = 500
807-
// create 600 messages to exceed threshold
808807
long currentTime = System.currentTimeMillis() / 1000;
808+
// create 2 timestamps in delta file
809809
List<Long> timestamps = Arrays.asList(currentTime - 3600, currentTime - 3600 + 1000);
810810
byte[] deltaFileBytes = createDeltaFileBytes(timestamps);
811811

@@ -829,7 +829,7 @@ public void testTrafficCalculator_detectsSpikeInCurrentWindow(VertxTestContext t
829829
assertEquals(0, result.getInteger("entries_processed"));
830830
assertEquals(0, result.getInteger("deltas_produced"));
831831

832-
// verify manual override was set to DELAYED_PROCESSING on S3
832+
// verify manual override was set to delayed_processing in s3
833833
try {
834834
ArgumentCaptor<String> pathCaptor = ArgumentCaptor.forClass(String.class);
835835
verify(cloudStorage, atLeastOnce()).upload(any(InputStream.class), pathCaptor.capture());

0 commit comments

Comments
 (0)