Tony Foerster has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10902
Change subject: Fix flaky 'Random Backup and Restore' test ...................................................................... Fix flaky 'Random Backup and Restore' test Add time to the snapshot timestamp to make sure all records written to test table are read by the backup job. Job would fail ~1/3 of the time before. I also tried using a timestamp obtained from the KuduClient: ``` val snapshotTimestampMicros = HybridTimeUtil.HTTimestampToPhysicalAndLogical(kuduClient.getLastPropagatedTimestamp)(0) val snapshotTimestampMillis = snapshotTimestampMicros / 1000 ``` The above code would produce something withing 1ms of the System timestamp. Not sure of the root cause, I'd expect the timetamp obtained from the Kudu client to work. Change-Id: I51a6dbeeb064dff157609fdbbafe505668eb2b26 --- A java/kudu-backup/out/test/resources/log4j.properties M java/kudu-backup/src/test/scala/org/apache/kudu/backup/TestKuduBackup.scala 2 files changed, 28 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/10902/1 -- To view, visit http://gerrit.cloudera.org:8080/10902 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I51a6dbeeb064dff157609fdbbafe505668eb2b26 Gerrit-Change-Number: 10902 Gerrit-PatchSet: 1 Gerrit-Owner: Tony Foerster <t...@phdata.io>