qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [1/2] qpid-proton git commit: NO-JIRA: proton-c fix unreliable proactor.c test
Date Tue, 05 Dec 2017 19:03:18 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 25025e9b3 -> 594872e7f


NO-JIRA: proton-c fix unreliable proactor.c test

Hopefully this is the cause of a sporadic failure on MacOS CI builds


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

Branch: refs/heads/master
Commit: e6505ca767ec31eb46855f45d1bc53d583fab793
Parents: 25025e9
Author: Alan Conway <aconway@redhat.com>
Authored: Tue Dec 5 11:06:09 2017 -0500
Committer: Alan Conway <aconway@redhat.com>
Committed: Tue Dec 5 11:06:09 2017 -0500

----------------------------------------------------------------------
 proton-c/src/tests/proactor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e6505ca7/proton-c/src/tests/proactor.c
----------------------------------------------------------------------
diff --git a/proton-c/src/tests/proactor.c b/proton-c/src/tests/proactor.c
index 1d4137e..3137da0 100644
--- a/proton-c/src/tests/proactor.c
+++ b/proton-c/src/tests/proactor.c
@@ -286,8 +286,8 @@ static void test_client_server(test_t *t) {
   test_listener_t l = test_listen(&tps[1], localhost);
   /* Connect and wait for close at both ends */
   pn_proactor_connect(tps[0].proactor, pn_connection(), l.port.host_port);
-  TEST_ETYPE_EQUAL(t, PN_TRANSPORT_CLOSED, TEST_PROACTORS_RUN(tps));
-  TEST_ETYPE_EQUAL(t, PN_TRANSPORT_CLOSED, TEST_PROACTORS_RUN(tps));
+  TEST_PROACTORS_RUN_UNTIL(tps, PN_TRANSPORT_CLOSED);
+  TEST_PROACTORS_RUN_UNTIL(tps, PN_TRANSPORT_CLOSED);  
   TEST_PROACTORS_DESTROY(tps);
 }
 


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


Mime
View raw message