Hello Kudu Jenkins, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/10902
to look at the new patch set (#2).
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 within 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
---
M java/kudu-backup/src/test/scala/org/apache/kudu/backup/TestKuduBackup.scala
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/10902/2
--
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: newpatchset
Gerrit-Change-Id: I51a6dbeeb064dff157609fdbbafe505668eb2b26
Gerrit-Change-Number: 10902
Gerrit-PatchSet: 2
Gerrit-Owner: Tony Foerster <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins