Skip to content

Commit fa058c5

Browse files
saratomazclaude
andcommitted
Emit antithesis_setup complete from first_setup.py
Without this signal Antithesis never schedules the parallel/anytime drivers — it waits for setup_complete before injecting faults and running the workload. Also emit it on the already-done path so a container restart mid-run doesn't stall the scheduler. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e6028c6 commit fa058c5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

components/gov-cli/composer/governance-python/first_setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def main() -> int:
2727

2828
if g.SETUP_MARKER.exists():
2929
sdk.sometimes(True, "governance_setup_already_done")
30+
sdk.setup_complete()
3031
return 0
3132

3233
cluster = g.make_cluster()
@@ -130,6 +131,7 @@ def main() -> int:
130131

131132
g.SETUP_MARKER.touch()
132133
sdk.sometimes(True, "governance_setup_complete")
134+
sdk.setup_complete()
133135
print(f"setup complete (cc_active={cc_active} dreps={dreps})", file=sys.stderr)
134136
return 0
135137

testnets/cardano_node_governance/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ services:
134134
# Sleeping cardano-cli container holding the governance composer
135135
# drivers. Built with DRIVER_LANG=python.
136136
gov-cli:
137-
image: ghcr.io/saratomaz/cardano-node-tests-antithesis/gov-cli@sha256:f2afbe3090ee3fd747565c8137d0046996d1d3ee0a2f565dd6019c4261175bf4
137+
image: ghcr.io/saratomaz/cardano-node-tests-antithesis/gov-cli@sha256:879f5f83b682f53f3f8636ff8ed6ffc9bac5b7795be5e82ec360dbc8fbaf6a74
138138
container_name: gov-cli
139139
hostname: gov-cli.example
140140
labels:

0 commit comments

Comments
 (0)