Bug 1729847 - 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: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karthik U S
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1729895
TreeView+ depends on / blocked
 
Reported: 2019-07-15 06:18 UTC by Karthik U S
Modified: 2019-07-15 09:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1729895 (view as bug list)
Environment:
Last Closed: 2019-07-15 08:48:50 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 23043 0 None Merged tests: Fix bug-1717819-metadata-split-brain-detection.t failure 2019-07-15 08:48:49 UTC

Description Karthik U S 2019-07-15 06:18:27 UTC
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 06:31:20 UTC
REVIEW: https://review.gluster.org/23043 (tests: Fix bug-1717819-metadata-split-brain-detection.t failure) posted (#1) for review on master by Karthik U S

Comment 2 Worker Ant 2019-07-15 08:48:50 UTC
REVIEW: https://review.gluster.org/23043 (tests: Fix bug-1717819-metadata-split-brain-detection.t failure) merged (#2) on master by Atin Mukherjee


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