diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-01-05 12:17:23 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-01-05 12:17:23 +0100 |
commit | 3cbf6bc85466e5a4aa1be504e6e67eaa8bf0f186 (patch) | |
tree | b710c6b76aff8a67a95425894f7796b8f58d3657 /cpp/test/IceStorm/rep1 | |
parent | Added workaround for running Safari tests with Jenkins (diff) | |
download | ice-3cbf6bc85466e5a4aa1be504e6e67eaa8bf0f186.tar.bz2 ice-3cbf6bc85466e5a4aa1be504e6e67eaa8bf0f186.tar.xz ice-3cbf6bc85466e5a4aa1be504e6e67eaa8bf0f186.zip |
Thread safety fixes for tests scripts
Diffstat (limited to 'cpp/test/IceStorm/rep1')
-rw-r--r-- | cpp/test/IceStorm/rep1/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceStorm/rep1/test.py b/cpp/test/IceStorm/rep1/test.py index 7385a9d8d25..3c9ba79776b 100644 --- a/cpp/test/IceStorm/rep1/test.py +++ b/cpp/test/IceStorm/rep1/test.py @@ -62,7 +62,7 @@ class IceStormRep1TestCase(IceStormTestCase): readyCount=0, quiet=True) subscriber.run(current, exitstatus=1 if expect else 0) - checkExpect(subscriber.getOutput(), expect) + checkExpect(subscriber.getOutput(current), expect) def rununsub2(replica=None, expect=None): sub = Subscriber(exe="sub", @@ -77,7 +77,7 @@ class IceStormRep1TestCase(IceStormTestCase): # shouldn't get an AlreadySubscribedException. sub.run(current, exitstatus=1 if expect else 0) if expect: - checkExpect(sub.getOutput(), expect) + checkExpect(sub.getOutput(current), expect) return sub.run(current, args=["--unsub"]) |