Merge pull request #19098 from overleaf/jpa-graceful-shutdown-tests

[server-ce] add test for graceful shutdown

GitOrigin-RevId: 5e72e0073169009d2e3ece5a79cbd62051f6ad5b
This commit is contained in:
Jakob Ackermann
2024-06-25 13:03:05 +02:00
committed by Copybot
parent 956aad7e43
commit ce9b531892
6 changed files with 135 additions and 8 deletions

View File

@@ -76,3 +76,10 @@ export async function runScript({
}),
})
}
export async function getRedisKeys() {
const { stdout } = await fetchJSON(`${hostAdminUrl}/redis/keys`, {
method: 'GET',
})
return stdout.split('\n')
}