lab3: e2e ждёт DOWN слотов, а не любое состояние кроме UP

This commit is contained in:
2026-10-16 22:18:08 +03:00
parent 46d84ab0aa
commit 1b4aac7587
+4 -2
View File
@@ -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(