bvaradar commented on a change in pull request #942: [HUDI-137] Fix state
transitions for Hudi cleaning action
URL: https://github.com/apache/incubator-hudi/pull/942#discussion_r340197191
##########
File path:
hudi-client/src/test/java/org/apache/hudi/HoodieClientTestHarness.java
##########
@@ -52,6 +53,11 @@
protected transient HoodieTestDataGenerator dataGen = null;
protected transient ExecutorService executorService;
protected transient HoodieTableMetaClient metaClient;
+ private static AtomicInteger instantGen = new AtomicInteger(1);
+
+ public String getNextInstant() {
+ return String.format("%09d", instantGen.getAndIncrement());
Review comment:
IIRC, I added this to force different timestamps for same actions (1.clean,
2.clean,...)
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services