Sfoglia il codice sorgente

allow atomic watchdog handoff in soak

root 3 mesi fa
parent
commit
501f8b3b3c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      tests/cocotb/test_6400_v1_soak.py

+ 2 - 2
tests/cocotb/test_6400_v1_soak.py

@@ -177,7 +177,7 @@ async def test_accelerated_randomized_system_soak(dut):
     await initialize_current(dut)
     await pulse_tick_1s(dut, 30)
     await wait_for(dut, lambda: int(dut.control_state_mon.value) == 2,
-                   cycles=300, label="SAFE watchdog to PID")
+                   cycles=2400, label="SAFE watchdog atomic handoff to PID")
     for _ in range(4):
         await send_bmc_snapshot(dut, [60] * 24)
 
@@ -272,7 +272,7 @@ async def test_accelerated_randomized_system_soak(dut):
                 await pulse_tick_1s(dut, 30)
                 for _ in range(4):
                     await send_bmc_snapshot(dut, [60] * 24)
-                await wait_for(dut, lambda: int(dut.control_state_mon.value) == 2, cycles=1200, label="PID after reset")
+                await wait_for(dut, lambda: int(dut.control_state_mon.value) == 2, cycles=2400, label="PID after reset")
                 counters["reset"] += 1
             else:
                 await validate_snapshot(dut, "rs232", counters)