path: root/glustolibs-gluster/glustolibs/gluster
diff options
authorkshithijiyer <>2020-03-24 10:48:11 +0530
committerkshithijiyer <>2020-03-24 11:02:26 +0530
commit7b308bf46b2285a283497cdf0d9830903f1b7d0c (patch)
tree98d1bc5fb0c3ac090e5831a7b24fa2948bf4e253 /glustolibs-gluster/glustolibs/gluster
parent2e567185989009ef0543b38282659c39ca8940f6 (diff)
[Testfix] Fix error in logging
Problem: Testcase test_ec_version was failing with the below traceback: Traceback (most recent call last): File "/usr/lib64/python2.7/logging/", line 851, in emit msg = self.format(record) File "/usr/lib64/python2.7/logging/", line 724, in format return fmt.format(record) File "/usr/lib64/python2.7/logging/", line 464, in format record.message = record.getMessage() File "/usr/lib64/python2.7/logging/", line 328, in getMessage msg = msg % self.args TypeError: %d format: a number is required, not str Logged from file, line 233 This was due to a missing 's' in the log message on line 233. Solution: Add the missing s in the log message on line 233 as shown below:'Brick %s is offline successfully', brick_b2_down) Also renaming the file for more clarity of what the testcase does. Change-Id: I626fbe23dfaab0dd6d77c75329664a81a120c638 Signed-off-by: kshithijiyer <>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
0 files changed, 0 insertions, 0 deletions