Himanshu-g81 commented on code in PR #2395:
URL: https://github.com/apache/phoenix/pull/2395#discussion_r3042853663
##########
phoenix-core-server/src/main/java/org/apache/phoenix/replication/ReplicationLogTracker.java:
##########
@@ -267,7 +266,7 @@ public List<Path> getNewFiles() throws IOException {
* @return true if file was successfully deleted, false otherwise
*/
protected boolean markCompleted(final Path file) {
- long startTime = EnvironmentEdgeManager.currentTimeMillis();
+ long startTime = EnvironmentEdgeManager.currentTime();
Review Comment:
It's to use the same libraray across difference classes in this module, so
when current time is injected from test, it gets propogated to all the classes
(instead of doing injecting for both the libraries in test code).
--
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]