From efa07fb645f2e035390e17492eaf2d4e5f623357 Mon Sep 17 00:00:00 2001 From: Kenneth Giusti Date: Sun, 24 Sep 2023 12:06:45 -0400 Subject: [PATCH] debug --- tests/system_tests_edge_router.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/system_tests_edge_router.py b/tests/system_tests_edge_router.py index f3afeeef5..9df33be29 100644 --- a/tests/system_tests_edge_router.py +++ b/tests/system_tests_edge_router.py @@ -350,7 +350,8 @@ def router(name, mode, connection, extra=None): 'test_70': 0, 'test_71': 0, 'test_72': 0, - 'test_73': 0 + 'test_73': 0, + 'test_74': 0 } def test_01_connectivity_INTA_EA1(self): @@ -1543,19 +1544,26 @@ def test_74_ensure_no_admin_delete(self): try: r.management.query(type="io.skupper.router.tcpListener") except: + print("TCP LISTNER QUERY FAILED", flush=True) pass + print("QUERY FOR CONN", flush=True) conns = [d for d in r.management.query(type=CONNECTION_TYPE).get_dicts() if d['role'] == 'edge'] + print(f"CONN QUERY={conns}", flush=True) self.assertNotEqual(0, len(conns), f"Expected at least one connection: {conns}") for conn in conns: + print(f"CONN DELETE={conn}", flush=True) with self.assertRaises(ForbiddenStatus): r.management.update(attributes={'adminStatus': 'deleted'}, type=CONNECTION_TYPE, identity=conn['identity']) + print(f"CONN DELETED={conn}", flush=True) + try: r.management.query(type="io.skupper.router.tcpConnector") except: + print("TCP CONN QUERY FAILED", flush=True) pass