Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,11 @@ public void testAfterProcessingTimeContinuationTriggerEarly() throws Exception {
* many runners do not support it.
*
* <p>Since a delay in processing time is fundamental to this test, it unfortunately must have a
* real-time sleep. Currently the sleep is sub-second so it is acceptable delay for a unit test
* suite.
* real-time sleep. Currently the sleep is a couple of seconds so it is an acceptable delay for
* a unit test suite.
*/
@Test
@BeamParallelJunit4Runner.SerialTest
@Category({
ValidatesRunner.class,
UsesTimersInParDo.class,
Expand All @@ -249,7 +250,7 @@ public void testAfterProcessingTimeContinuationTriggerEarly() throws Exception {
})
public void testAfterProcessingTimeContinuationTriggerUsingState() throws Exception {
final long triggerMillis = 1;
final long waitMillis = 500;
final long waitMillis = 2000;

PCollection<Integer> triggeredSums =
p.apply(
Expand Down
Loading