Skip to content

Commit

Permalink
Global for failed node list
Browse files Browse the repository at this point in the history
  • Loading branch information
sunetfreitag committed Oct 29, 2024
1 parent b730a25 commit e86a46f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_status_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand All @@ -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:
Expand Down

0 comments on commit e86a46f

Please sign in to comment.