Bug 1729895 - Fix spurious failure of tests/bugs/replicate/bug-1717819-metadata-split-brain-detection.t
Summary: Fix spurious failure of tests/bugs/replicate/bug-1717819-metadata-split-brain...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karthik U S
QA Contact:
URL:
Whiteboard:
Depends On: 1729847
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-15 09:09 UTC by Karthik U S
Modified: 2019-07-15 11:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1729847
Environment:
Last Closed: 2019-07-15 11:59:59 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23045 0 None Merged tests: Fix bug-1717819-metadata-split-brain-detection.t failure 2019-07-15 11:59:58 UTC

Description Karthik U S 2019-07-15 09:09:14 UTC
+++ This bug was initially created as a clone of Bug #1729847 +++

Description of problem:

Test case bug-1717819-metadata-split-brain-detection.t is failing in the below tests:
22:19:26 not ok 49 , LINENUM:125
22:19:26 FAILED COMMAND: [ 1 == 2 ]
22:19:26 not ok 50 , LINENUM:126
22:19:26 FAILED COMMAND: [ 1 == 3 ]
22:19:26 Failed 2/50 subtests

We are not checking for the heal completion before comparing the xattrs in tests #49 & #50. If the heal is not completed at the time of comparing the values, it will fail. We need to wait for the heal to complete before comparing the xattr values.

Comment 1 Worker Ant 2019-07-15 09:17:29 UTC
REVIEW: https://review.gluster.org/23045 (tests: Fix bug-1717819-metadata-split-brain-detection.t failure) posted (#1) for review on release-7 by Karthik U S

Comment 2 Worker Ant 2019-07-15 11:59:59 UTC
REVIEW: https://review.gluster.org/23045 (tests: Fix bug-1717819-metadata-split-brain-detection.t failure) merged (#1) on release-7 by Karthik U S


Note You need to log in before you can comment on or make changes to this bug.