Preserve shortage signals during global pause (Refs #137)
CI / checks (push) Successful in 4m47s
CI / checks (push) Successful in 4m47s
This commit is contained in:
@@ -15,6 +15,7 @@ const report = (days: number) => ({
|
||||
scope: { game: null, map: null, timeZone: 'UTC' },
|
||||
scopeOptions: { games: [], maps: [] },
|
||||
registeredServerCount: 0,
|
||||
autoscalingPaused: false,
|
||||
firstRetainedSampleAt: null,
|
||||
latestSampleAt: null,
|
||||
scopeFirstSampleAt: null,
|
||||
@@ -168,6 +169,7 @@ describe('metrics background refresh', () => {
|
||||
]
|
||||
};
|
||||
const invalid = [
|
||||
{ ...value, autoscalingPaused: undefined },
|
||||
{ ...value, running: undefined },
|
||||
{ ...value, previous: { ...value.previous, running: undefined } },
|
||||
{ ...value, maps: [{ ...value.maps[0], policy: { id: 'moon' } }] },
|
||||
|
||||
Reference in New Issue
Block a user