Skip to content

Commit 955872b

Browse files
author
Sharon Shabtai
authored
Merge pull request #222 from RachelTucker/fix-intermittent-test
The sync test intermittently fails if the BP's clock is a few milliseconds off from the client running the tests
2 parents 8f1e94a + 166b61e commit 955872b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ds3-cli-integration/src/test/java/com/spectralogic/ds3cli/integration/FeatureIntegration_Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public void getObjectWithSyncNoUpdate() throws Exception {
371371
Util.createBucket(client, bucketName);
372372
Util.loadBookTestData(client, bucketName);
373373
final File newFile = new File(Util.DOWNLOAD_BASE_NAME + File.separator + objectName);
374-
final DateTime now = new DateTime();
374+
final DateTime now = new DateTime().plusHours(1);
375375
newFile.setLastModified(now.getMillis());
376376

377377
final Arguments args = new Arguments(

0 commit comments

Comments
 (0)