You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/03/15 20:07:12 UTC

[3/4] qpid-proton git commit: PROTON-1439: messenger tests fail sporadically with interrupt error

PROTON-1439: messenger tests fail sporadically with interrupt error

Different messenger tests fail randomly with "Interrupt: [-8]: None"

Disabled the tests by default as the messenger is no longer being maintained,
They can be run with 'proton-tests "*.messenger.*"'


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

Branch: refs/heads/master
Commit: 98676a12cf9acaf896bade79da0bba4bbd933ae4
Parents: 03ca9be
Author: Alan Conway <ac...@redhat.com>
Authored: Wed Mar 15 15:57:32 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Wed Mar 15 15:57:32 2017 -0400

----------------------------------------------------------------------
 tests/python/proton-test | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/98676a12/tests/python/proton-test
----------------------------------------------------------------------
diff --git a/tests/python/proton-test b/tests/python/proton-test
index d8f49d5..951fea8 100755
--- a/tests/python/proton-test
+++ b/tests/python/proton-test
@@ -91,6 +91,9 @@ class Config:
 
 opts, args = parser.parse_args()
 
+# Known bad tests, skipped unless specifically matched on the command line
+known_bad = ["proton_tests.messenger.*"]
+
 includes = []
 excludes = ["*__*__"]
 config = Config()
@@ -119,9 +122,6 @@ for v in opts.ignore_file:
 for a in args:
   includes.append(a.strip())
 
-if not includes:
-  includes.append("*")
-
 def is_ignored(path):
   for p in excludes:
     if match(path, p):
@@ -134,7 +134,10 @@ def is_included(path):
   for p in includes:
     if match(path, p):
       return True
-  return False
+  for p in known_bad:
+    if match(path, p):
+      return False
+  return not includes           # If includes is empty, include everything
 
 def is_smart():
   return sys.stdout.isatty() and os.environ.get("TERM", "dumb") != "dumb"


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