diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2018-08-10 12:46:20 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-08-12 08:27:20 +0000 |
commit | 488dcc17b76b1b46c13ccd269b7a092c014a4d94 (patch) | |
tree | edef46562cc87b0ef66f336f7ea25e0433eb26f4 /xlators/debug/error-gen/Makefile.am | |
parent | bd8fc26a278697c30537d879ea5402db7ebab577 (diff) | |
download | glusterfs-488dcc17b76b1b46c13ccd269b7a092c014a4d94.tar.gz glusterfs-488dcc17b76b1b46c13ccd269b7a092c014a4d94.tar.xz glusterfs-488dcc17b76b1b46c13ccd269b7a092c014a4d94.zip |
Make sure EXPECT_WITHIN executes the statement multiple times
When we pass a command to be executed in EXPECT_WITHIN and we use ``
the value is passed by value, so if the first execution gives a result
that is different from the expected value, EXPECT_WITHIN test will
fail because the command will not be re-evaluated. Changed the
expression with `` to a function. Added sleep(3) in afr.c for
reconfigure to both RC and re-test after the change.
fixes bz#1614662
Change-Id: I3bc8a75b996729261aa48067f6ed8da9c6273b13
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/debug/error-gen/Makefile.am')
0 files changed, 0 insertions, 0 deletions