VictorvandenHoven commented on PR #14426:
URL: https://github.com/apache/kafka/pull/14426#issuecomment-1976647985

   > @VictorvandenHoven -- it seems 
`KStreamKStreamIntegrationTest.shouldOuterJoin` fails consistently. Can you 
take a look?
   
   Ouch, didn't test that one.
   
   Apparently, the internalProcessorContext.currentSystemTimeMs() behaves 
differently as expected.
   The **MOCK_TIME** advances 10 seconds and the 
**internalProcessorContext.currentSystemTimeMs()** only advances about 100 ms.
   Since the "next time to emit interval" is 1000ms by default, the "next time 
to emit" will never be reached.
   
   When I change the value of the  "next time to emit interval" to 0,  by 
adding the following line in de @BeforeEach.
   `            
streamsConfig.put(InternalConfig.EMIT_INTERVAL_MS_KSTREAMS_OUTER_JOIN_SPURIOUS_RESULTS_FIX,
 0L);
   `
   Then the test succeeds.
   
   I do not understand however, why this test worked before?
   
   Shall I change the test with the 
EMIT_INTERVAL_MS_KSTREAMS_OUTER_JOIN_SPURIOUS_RESULTS_FIX?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to