From e86a46fd2f78a8e375e9c3049df6dc3d8002fa79 Mon Sep 17 00:00:00 2001 From: Richard Freitag Date: Tue, 29 Oct 2024 16:42:27 +0000 Subject: [PATCH] Global for failed node list --- test_status_cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_status_cli.py b/test_status_cli.py index 1c9d871..cd340b1 100644 --- a/test_status_cli.py +++ b/test_status_cli.py @@ -282,6 +282,7 @@ def test_node_statusinfo_gss(self): logger.info(f'GSS Status information tested') def test_frontend_status(self): + global g_failedNodes drv = sunetnextcloud.TestTarget() for url in drv.get_allnode_status_urls(): with self.subTest(myurl=url): @@ -300,6 +301,7 @@ def test_frontend_status(self): self.assertTrue(False) def test_frontend_statusinfo(self): + global g_failedNodes drv = sunetnextcloud.TestTarget() for url in drv.get_allnode_status_urls(): with self.subTest(myurl=url): @@ -320,6 +322,7 @@ def test_frontend_statusinfo(self): # Test status infor content for all individual loadbalanced nodes def test_node_statusinfo(self): + global g_failedNodes drv = sunetnextcloud.TestTarget() for node in expectedResults['global']['redundantnodes']: if node in drv.allnodes: