Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(e2e): check S4 history on the active stateless Pod before the suspend
Alfredo Lopezac1fa5a98381
diff --git a/scripts/e2e/e2e-hcc-storage-layout-switch.sh b/scripts/e2e/e2e-hcc-storage-layout-switch.shindex 147c311c9..ba2725f08 100755--- a/scripts/e2e/e2e-hcc-storage-layout-switch.sh+++ b/scripts/e2e/e2e-hcc-storage-layout-switch.sh@@ -697,7 +697,8 @@ scenario_S3() {assert_history "$name" 'stateful->stateless(channel-deleted)'}-# S4: switch to stateful while suspended, then back to stateless and wake.+# S4: switch to stateful while suspended, then back to stateless (history+# checked on the active Pod), suspend and wake.scenario_S4() {local namename="$(truncate_rfc1123 "e2e-825-s4-${RUN}")"@@ -706,6 +707,9 @@ scenario_S4() {assert_history "$name" 'suspended->stateful' || return 1read_seed_file "$name" seed.txt "seed ${RUN}" || return 1switch_and_witness "$name" true || return 1+ # The active stateless Pod between the switch and the suspend serves the+ # same history too, not only the Pod that wakes afterwards.+ assert_history "$name" 'stateful->stateless(active)' || return 1wait_suspended "$name" || return 1post_wake "$name" || return 1wait_new_ready_pod "$name" '' "$POD_READY_TIMEOUT" || return 1