emergency save.

This commit is contained in:
2024-05-05 23:18:42 -04:00
parent 555cf209ba
commit 3955048157
6 changed files with 169 additions and 5 deletions

View File

@ -85,3 +85,15 @@ class BootUpTC(MTTClusterTC):
) as response:
self.assertIn(SESSION_KEY, response.cookies)
self.assertNotEqual(response.cookies[SESSION_KEY].value, value)
async def test_sessions_are_shared_between_servers(self):
"""Does the session apply to the cluster."""
await self.create_cluster()
ids = []
def tests(response):
if SESSION_KEY in response.cookies:
ids.append(response.cookies[SESSION_KEY].value)
await self.run_tests("/", tests)
self.assertEqual(len(ids), 1, "Session info should be shared to the cluster.")