lab3: e2e ждёт DOWN слотов, а не любое состояние кроме UP
This commit is contained in:
@@ -593,7 +593,8 @@ describe.skipIf(!enabled)('dependency outages', () => {
|
||||
}),
|
||||
);
|
||||
await waitForSlot(
|
||||
(slots) => upSlots(slots).length === 0,
|
||||
// 'UP 1/2' is still in rotation: wait for DOWN itself.
|
||||
(slots) => slots.every((slot) => slot.status === 'DOWN'),
|
||||
'not every slot left rotation',
|
||||
);
|
||||
expectLbOutage(
|
||||
@@ -683,7 +684,8 @@ describe.skipIf(!enabled)('dependency outages', () => {
|
||||
}),
|
||||
);
|
||||
await waitForSlot(
|
||||
(slots) => upSlots(slots).length === 0,
|
||||
// 'UP 1/2' is still in rotation: wait for DOWN itself.
|
||||
(slots) => slots.every((slot) => slot.status === 'DOWN'),
|
||||
'not every slot left rotation',
|
||||
);
|
||||
expectLbOutage(
|
||||
|
||||
Reference in New Issue
Block a user