[Bugs] [Bug 1625850] New: tests: fixes to bug-1015990-rep.t

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 6 05:28:57 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1625850

            Bug ID: 1625850
           Summary: tests: fixes to bug-1015990-rep.t
           Product: GlusterFS
           Version: mainline
         Component: tests
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



Description of problem:
The test failed @ https://build.gluster.org//job/centos7-regression/2799/ :

22:16:28 ./tests/bugs/replicate/bug-1015990-rep.t: line 51: 0-: syntax error:
operand expected (error token is "-")
22:16:28 not ok 12 Got "" instead of "0", LINENUM:53
22:16:28 FAILED COMMAND: 0 echo
22:16:28 not ok 13 Got "47" instead of "0", LINENUM:60
22:16:28 FAILED COMMAND: 0 echo 47


22:16:28 Test Summary Report
22:16:28 -------------------
22:16:28 ./tests/bugs/replicate/bug-1015990-rep.t (Wstat: 0 Tests: 17 Failed:
2)
22:16:28   Failed tests:  12-13

So basically, when statistics command was run, it did not get the desired
output from the bricks that were up.

I am not sure if the failure was due to a problem with the patch itself, but on
looking at the .t, I do see places for improvement in general regarding
checking for brick up/down status, removing sleep statements etc. Sending a
patch to fixing them to avoid possible future spurious failures.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list