Skip to content

Commit 22fd654

Browse files
committed
wal tests: move test.toml comments to script, remove empty test.toml files
Co-authored-by: Isaac
1 parent d2362e2 commit 22fd654

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

acceptance/bundle/deploy/wal/chain-3-jobs/script

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Linear chain: job_01 -> job_02 -> job_03
2+
# Let first 2 jobs/create succeed, then kill on the 3rd
13
kill_after.py "POST /api/2.2/jobs/create" 2 1
24

35
echo "=== First deploy (crashes on job_03) ==="

acceptance/bundle/deploy/wal/chain-3-jobs/test.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

acceptance/bundle/deploy/wal/crash-after-create/script

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# WAL recovery after real crash. First deploy creates job_a then crashes.
2+
# Second deploy recovers from WAL and completes successfully.
3+
# job_b depends on job_a, so jobs/get is called after job_a's SaveState.
14
kill_after.py "GET /api/2.2/jobs/get" 0 1
25

36
echo "=== First deploy (crashes after job_a create, before job_b) ==="

acceptance/bundle/deploy/wal/crash-after-create/test.toml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)