Skip to content

Commit 688e319

Browse files
committed
update config
1 parent c0adf16 commit 688e319

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

framework/examples/myproject/chaos/chaos_k8s.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
wait_before_start = "10s"
33
namespace = "default"
44
dashboard_uuids = ["WaspDebug"]
5-
experiment_duration = "20m"
5+
experiment_duration = "20s"
66
experiment_injection_duration = "10s"
77
blockchain_http_urls = ["http://localhost:8545"]
88
reorg_below_finality_threshold = 5

framework/examples/myproject/chaos/chaos_k8s_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestK8sChaos(t *testing.T) {
5050
_, err := cr.RunPodFail(context.Background(),
5151
havoc.PodFailCfg{
5252
Namespace: cfg.Namespace,
53-
LabelKey: "instance",
53+
LabelKey: "app.kubernetes.io/instance",
5454
LabelValues: []string{"geth-1337"},
5555
InjectionDuration: f.MustParseDuration(cfg.ExperimentInjectionDuration),
5656
})
@@ -64,7 +64,7 @@ func TestK8sChaos(t *testing.T) {
6464
_, err := cr.RunPodFail(context.Background(),
6565
havoc.PodFailCfg{
6666
Namespace: cfg.Namespace,
67-
LabelKey: "instance",
67+
LabelKey: "app.kubernetes.io/instance",
6868
LabelValues: []string{"geth-2337"},
6969
InjectionDuration: f.MustParseDuration(cfg.ExperimentInjectionDuration),
7070
})

0 commit comments

Comments
 (0)