shuai-xu commented on a change in pull request #11068: [FLINK-15964] [cep] fix getting event of previous stage in notFollowedBy may throw exception bug URL: https://github.com/apache/flink/pull/11068#discussion_r380015457
########## File path: flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/nfa/NFAITCase.java ########## @@ -2844,4 +2845,35 @@ public void testSharedBufferClearing() throws Exception { Mockito.verify(accessor, Mockito.times(1)).advanceTime(2); } } + + /** + * Test that can access the value of the previous stage directly in notFollowedBy. + * + * @see <a href="https://issues.apache.org/jira/browse/FLINK-15964">FLINK-15964</a> + * @throws Exception + */ + @Test + public void testAccessPreviousStageInNotFollowedBy() throws Exception { Review comment: OK ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services