Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11815


Change subject: KUDU-2584: Prevent flaky off-by-one errors in backup tests
......................................................................

KUDU-2584: Prevent flaky off-by-one errors in backup tests

This patch adds a one second sleep to the back up
and restore tests before a backup is taken. This
ensures that we don’t have flakes due to
off-by-one errors where all the values are not read.

The off-by-one errors are possibly due to very fast
test runs where the writes and backups start
in under 1ms. They could also be due to some
underlying issue that is not well understood. That
said in a real world backup scenario, this should have
no impact.

Further testing/hardening of this job may remove the
need for this pause in the future.

Change-Id: Ia0f1b4a4138cc8c913543a68fad748927cdc439d
---
M java/kudu-backup/src/test/scala/org/apache/kudu/backup/TestKuduBackup.scala
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/11815/1
--
To view, visit http://gerrit.cloudera.org:8080/11815
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0f1b4a4138cc8c913543a68fad748927cdc439d
Gerrit-Change-Number: 11815
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to