-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathordeal.toml
More file actions
55 lines (45 loc) · 1.25 KB
/
Copy pathordeal.toml
File metadata and controls
55 lines (45 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ordeal.toml — Chaos testing configuration for enzu
#
# Run with: ordeal explore
# Or: pytest --chaos tests/test_chaos_*.py
[explorer]
target_modules = ["enzu.budget", "enzu.engine", "enzu.session"]
max_time = 60 # seconds (bump to 300+ for CI)
seed = 42 # reproducible exploration
max_checkpoints = 128
checkpoint_prob = 0.4
checkpoint_strategy = "energy"
steps_per_run = 30
fault_toggle_prob = 0.3
workers = 0 # 0 = auto (cpu_count)
[[tests]]
class = "tests.test_chaos_budget:BudgetControllerChaos"
steps_per_run = 40
[[tests]]
class = "tests.test_chaos_budget:ConcurrentBudgetChaos"
steps_per_run = 20
[[tests]]
class = "tests.test_chaos_budget:TinyBudgetChaos"
steps_per_run = 50
[[tests]]
class = "tests.test_chaos_engine:EngineChaos"
steps_per_run = 20
swarm = true
[[tests]]
class = "tests.test_chaos_engine:ProviderFallbackChaos"
steps_per_run = 20
[[tests]]
class = "tests.test_chaos_session:SessionStateChaos"
steps_per_run = 30
[[tests]]
class = "tests.test_chaos_session:ExchangeSerializationChaos"
steps_per_run = 30
[[tests]]
class = "tests.test_chaos_session:HistoryFormattingChaos"
steps_per_run = 20
[report]
format = "both"
output = "ordeal-report.json"
traces = true
traces_dir = ".ordeal/traces"
verbose = true