emergency save.
This commit is contained in:
@ -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.")
|
||||
|
Reference in New Issue
Block a user