Align e2e-prod suite with the monolith API; drop dead applyOverride; treat run_not_active as terminal
This commit is contained in:
@@ -15,12 +15,11 @@ describe('e2e-prod: health', () => {
|
||||
expect(body.status).toBe('ok');
|
||||
});
|
||||
|
||||
it('content + game gRPC backends are serving', async () => {
|
||||
// /readyz may be 503 if analytics is not_serving (out of scope here); assert the
|
||||
// backends this suite actually uses are serving.
|
||||
it('GET /readyz reports every backing store ready', async () => {
|
||||
const res = await fetch(`${baseUrl}/readyz`);
|
||||
const body = (await res.json()) as { grpc?: Record<string, string> };
|
||||
expect(body.grpc?.content).toBe('serving');
|
||||
expect(body.grpc?.game).toBe('serving');
|
||||
expect(res.ok).toBe(true);
|
||||
const body = (await res.json()) as { status?: string; checks?: Record<string, string> };
|
||||
expect(body.status).toBe('ready');
|
||||
expect(body.checks).toMatchObject({ db: 'ok', redis: 'ok', s3: 'ok' });
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user