diff options
| author | Kotresh HR <khiremat@redhat.com> | 2019-05-08 14:10:05 +0530 |
|---|---|---|
| committer | Kotresh HR <khiremat@redhat.com> | 2019-05-21 10:44:53 +0530 |
| commit | d6f523927bdd5d8914650aae7bd6e6f69e91b49f (patch) | |
| tree | 0d805c78d084f57517fbf96f69616fdbbb2f84d6 /tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t | |
| parent | 072a21576a65b5b0b2597115280972376f076a91 (diff) | |
tests/geo-rep: Fix arequal checksum comparison
The arequal checkusm comparison was always returning
as successful, eventhough, if it was not. Fixed the same.
Backport of:
> Patch: https://review.gluster.org/22682
> Change-Id: I5083da25c0954126e452d06311d2d376f8540555
> BUG: 1707742
> Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 288cffd1ab7180cccfcdea36d0c469b9fa52108f)
Change-Id: I5083da25c0954126e452d06311d2d376f8540555
fixes: bz#1712220
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t')
| -rw-r--r-- | tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t b/tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t index 1a55ed2bfa1..8b90347e3aa 100644 --- a/tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t +++ b/tests/00-geo-rep/georep-basic-dr-rsync-arbiter.t @@ -159,7 +159,7 @@ EXPECT_WITHIN $GEO_REP_TIMEOUT 0 chown_file_ok ${slave_mnt}/changelog_chown_f1 #logrotate EXPECT_WITHIN $GEO_REP_TIMEOUT 0 directory_ok ${slave_mnt}/logrotate -EXPECT_WITHIN $GEO_REP_TIMEOUT 0 arequal_checksum ${master_mnt}/logrotate ${slave_mnt}/logrotate +EXPECT_WITHIN $GEO_REP_TIMEOUT "x0" arequal_checksum ${master_mnt}/logrotate ${slave_mnt}/logrotate #CREATE+RENAME EXPECT_WITHIN $GEO_REP_TIMEOUT 0 create_rename_ok ${slave_mnt}/create_rename_test_file @@ -209,7 +209,7 @@ TEST create_rename_with_existing_destination ${master_mnt} EXPECT_WITHIN $GEO_REP_TIMEOUT 0 verify_rename_with_existing_destination ${slave_mnt} #Verify arequal for whole volume -EXPECT_WITHIN $GEO_REP_TIMEOUT 0 arequal_checksum ${master_mnt} ${slave_mnt} +EXPECT_WITHIN $GEO_REP_TIMEOUT "x0" arequal_checksum ${master_mnt} ${slave_mnt} #Stop Geo-rep TEST $GEOREP_CLI $master $slave stop |
