You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2018/01/18 15:05:06 UTC

qpid-proton-j git commit: NO-JIRA: use less aggressive values, avoid spurious failures in CI

Repository: qpid-proton-j
Updated Branches:
  refs/heads/master fa1ae78c8 -> 1505db3b8


NO-JIRA: use less aggressive values, avoid spurious failures in CI


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/commit/1505db3b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/tree/1505db3b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/diff/1505db3b

Branch: refs/heads/master
Commit: 1505db3b8a9cf6daf7216f6940cd587294d518b8
Parents: fa1ae78
Author: Robbie Gemmell <ro...@apache.org>
Authored: Thu Jan 18 15:04:02 2018 +0000
Committer: Robbie Gemmell <ro...@apache.org>
Committed: Thu Jan 18 15:04:02 2018 +0000

----------------------------------------------------------------------
 tests/python/proton_tests/reactor.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/1505db3b/tests/python/proton_tests/reactor.py
----------------------------------------------------------------------
diff --git a/tests/python/proton_tests/reactor.py b/tests/python/proton_tests/reactor.py
index ab4492b..364b4f1 100644
--- a/tests/python/proton_tests/reactor.py
+++ b/tests/python/proton_tests/reactor.py
@@ -227,7 +227,7 @@ class ExceptionTest(Test):
         assert len(Nothing.results) == 0
 
     def test_schedule_cancel(self):
-        barf = self.reactor.schedule(10, BarfOnTask())
+        barf = self.reactor.schedule(1234, BarfOnTask())
         class CancelBarf:
             def __init__(self, barf):
                 self.barf = barf
@@ -239,7 +239,7 @@ class ExceptionTest(Test):
         try:
             self.reactor.run()
             elapsed = self.reactor.mark() - now
-            assert elapsed < 10, "expected cancelled task to not delay the reactor by %s" % elapsed
+            assert elapsed < 100, "expected cancelled task to not delay the reactor by %s" % elapsed
         except Barf:
             assert False, "expected barf to be cancelled"
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org