haridsv commented on code in PR #1964:
URL: https://github.com/apache/phoenix/pull/1964#discussion_r1771770450
##########
phoenix-core/src/it/java/org/apache/phoenix/end2end/CDCQueryIT.java:
##########
@@ -701,8 +698,14 @@ public void testCDCIndexBuildAndVerification() throws
Exception {
}
long startTS = System.currentTimeMillis();
- generateChanges(startTS, tenantids, tableFullName, tableFullName,
COMMIT_SUCCESS, null);
- EnvironmentEdgeManager.reset();
+ List<ChangeRow> changes = generateChanges(startTS, tenantids,
tableFullName,
+ tableFullName, COMMIT_SUCCESS, null, 0);
+ // Make sure the timestamp of the mutations are not in the future
Review Comment:
Why not start with a startTS that is in the past instead of sleeping below?
--
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]