curcur commented on a change in pull request #17462:
URL: https://github.com/apache/flink/pull/17462#discussion_r747958590
##########
File path:
flink-state-backends/flink-statebackend-changelog/src/test/java/org/apache/flink/state/changelog/ChangelogStateBackendTestUtils.java
##########
@@ -158,16 +155,15 @@ public static void testMaterializedRestore(
keyedBackend.setCurrentKey(2);
state.update(new StateBackendTestBase.TestPojo("u2", 2));
- awaitMaterialization(keyedBackend, env.getMainMailboxExecutor());
+ // trigger materialization manually
+ periodicMaterializationManager.triggerMaterialization();
Review comment:
it means each materialization is triggered manually instead of
automatically scheduling the next one.
This is to differentiate `periodicMaterializationManager` can schedule
automatically even if triggerMaterialization is called separately. But in this
test, only manually triggering is possible,
--
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]