Will Berkeley has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/13499 )
Change subject: [backup] Deflake TestKuduBackup.testRandomBackupAndRestore ...................................................................... [backup] Deflake TestKuduBackup.testRandomBackupAndRestore TestKuduBackup.testRandomBackupAndRestore was flaky because it the DataGenerator sometimes generated duplicate rows, which caused count mismatches between the number of rows upserted and the number of rows scanned from the table (particularly when the random schema had a single INT8 primary key). This fix works around the problem by eliminating the validation of backups against the generated rows, reducing the set of validations to just the validation of the final state of the table against the restored table. Change-Id: Ic8500f884b05d09a8679863c380dd89f1675519f Reviewed-on: http://gerrit.cloudera.org:8080/13499 Tested-by: Kudu Jenkins Reviewed-by: Grant Henke <granthe...@apache.org> --- M java/kudu-backup/src/test/scala/org/apache/kudu/backup/TestKuduBackup.scala 1 file changed, 9 insertions(+), 5 deletions(-) Approvals: Kudu Jenkins: Verified Grant Henke: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/13499 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic8500f884b05d09a8679863c380dd89f1675519f Gerrit-Change-Number: 13499 Gerrit-PatchSet: 4 Gerrit-Owner: Will Berkeley <wdberke...@gmail.com> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Grant Henke <granthe...@apache.org> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Will Berkeley <wdberke...@gmail.com>