We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 491603c commit 5d73fb3Copy full SHA for 5d73fb3
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestMultipartUploadWithCopy.java
@@ -113,7 +113,7 @@ public static void setUp() throws Exception {
113
// Make sure DELAY_MS has passed, otherwise
114
// afterSourceKeyModificationTimeStr will be in the future
115
// and thus invalid
116
- long currentTime = Time.monotonicNow();
+ long currentTime = System.currentTimeMillis();
117
long sleepMs = sourceKeyLastModificationTime + DELAY_MS - currentTime;
118
if (sleepMs > 0) {
119
Thread.sleep(sleepMs);
0 commit comments