qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject [qpid-dispatch] branch dev-protocol-adaptors-2 updated: DISPATCH-1876: reproducer self test
Date Tue, 08 Dec 2020 21:14:53 GMT
This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/dev-protocol-adaptors-2 by this push:
     new 3088407  DISPATCH-1876: reproducer self test
3088407 is described below

commit 3088407e2c635a71f0cc1564c18dd7239c138ebe
Author: Chuck Rolke <chug@apache.org>
AuthorDate: Tue Dec 8 16:14:37 2020 -0500

    DISPATCH-1876: reproducer self test
---
 tests/system_tests_tcp_adaptor.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/tests/system_tests_tcp_adaptor.py b/tests/system_tests_tcp_adaptor.py
index 0f45987..4c4131f 100644
--- a/tests/system_tests_tcp_adaptor.py
+++ b/tests/system_tests_tcp_adaptor.py
@@ -672,6 +672,20 @@ class TcpAdaptor(TestCase):
         assert result is None, "TCP_TEST Stop %s FAIL: %s" % (name, result)
         self.logger.log("TCP_TEST Stop %s SUCCESS" % name)
 
+    @SkipIfNeeded(DISABLE_SELECTOR_TESTS, DISABLE_SELECTOR_REASON)
+    def test_20_tcp_connect_disconnect(self):
+        self.skipTest("DISPATCH-1876 reproducer: disabled until DISPATCH-1876 is fixed")
+        name = "test_20_tcp_connect_disconnect"
+        self.logger.log("TCP_TEST Start %s" % name)
+        pairs = [self.EchoPair(self.INTA, self.INTA, sizes=[0])]
+        result = self.do_tcp_echo_n_routers(name, pairs)
+        if result is not None:
+            print(result)
+            sys.stdout.flush()
+        assert result is None, "TCP_TEST Stop %s FAIL: %s" % (name, result)
+        # TODO: This test passes but in passing router INTA crashes undetected.
+        self.logger.log("TCP_TEST Stop %s SUCCESS" % name)
+
     # concurrent messages
     @SkipIfNeeded(DISABLE_SELECTOR_TESTS, DISABLE_SELECTOR_REASON)
     def test_50_concurrent(self):


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


Mime
View raw message