pdream17 commented on code in PR #24084:
URL: https://github.com/apache/flink/pull/24084#discussion_r1451724830
##########
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/nfa/NFAStateAccessTest.java:
##########
@@ -81,8 +81,8 @@ public void testComplexBranchingAfterZeroOrMore() throws
Exception {
nfaTestHarness.consumeRecords(inputEvents);
assertEquals(58, sharedBuffer.getStateReads());
- assertEquals(33, sharedBuffer.getStateWrites());
- assertEquals(91, sharedBuffer.getStateAccesses());
+ assertEquals(41, sharedBuffer.getStateWrites());
Review Comment:
This change has been done to incorporate state writes being done by
eventsCount.clear() since invoking mapstate clear method increments state
writes by 1.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]