summaryrefslogtreecommitdiffstats
path: root/tests/bugs/core
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2018-08-10 12:46:20 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-08-12 08:27:20 +0000
commit488dcc17b76b1b46c13ccd269b7a092c014a4d94 (patch)
treeedef46562cc87b0ef66f336f7ea25e0433eb26f4 /tests/bugs/core
parentbd8fc26a278697c30537d879ea5402db7ebab577 (diff)
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 'tests/bugs/core')
0 files changed, 0 insertions, 0 deletions