Skip to content

Commit

Permalink
fix test in and expect
Browse files Browse the repository at this point in the history
  • Loading branch information
puppetninja committed Aug 29, 2024
1 parent 52b705e commit e8bf273
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 64 deletions.
12 changes: 0 additions & 12 deletions test/charts/mainnet.expect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,23 +182,11 @@ spec:
name: tezos-net
- containerPort: 9932
name: metrics
startupProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 180
periodSeconds: 10
readinessProbe:
httpGet:
path: /is_synced
port: 31732
successThreshold: 1
periodSeconds: 10
livenessProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 30
periodSeconds: 10
- name: sidecar
image: "ghcr.io/tacoinfra/tezos-k8s-utils:main"
Expand Down
22 changes: 6 additions & 16 deletions test/charts/mainnet2.expect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ data:
]
},
"country-town": {
"bootstrapped_liveness_probe": true,
"bootstrapped_startup_probe": true,
"env": {
"all": {
"key": "specific-pod"
Expand Down Expand Up @@ -253,23 +255,11 @@ spec:
name: tezos-net
- containerPort: 9932
name: metrics
startupProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 180
periodSeconds: 10
readinessProbe:
httpGet:
path: /is_synced
port: 31732
successThreshold: 1
periodSeconds: 10
livenessProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 30
periodSeconds: 10
- name: logger
image: "ghcr.io/tacoinfra/tezos-k8s-utils:main"
Expand Down Expand Up @@ -642,17 +632,17 @@ spec:
port: 31732
failureThreshold: 180
periodSeconds: 10
readinessProbe:
livenessProbe:
httpGet:
path: /is_synced
port: 31732
successThreshold: 1
failureThreshold: 30
periodSeconds: 10
livenessProbe:
readinessProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 30
successThreshold: 1
periodSeconds: 10
resources:
limits:
Expand Down
2 changes: 2 additions & 0 deletions test/charts/mainnet2.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ nodes:
history_mode:
rolling:
additional_cycles: 5
bootstrapped_startup_probe: true
bootstrapped_liveness_probe: true
city-block:
runs: [tezedge_node, logger, metrics]
instances:
Expand Down
36 changes: 0 additions & 36 deletions test/charts/private-chain.expect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -574,23 +574,11 @@ spec:
name: tezos-net
- containerPort: 9932
name: metrics
startupProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 180
periodSeconds: 10
readinessProbe:
httpGet:
path: /is_synced
port: 31732
successThreshold: 1
periodSeconds: 10
livenessProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 30
periodSeconds: 10
- name: sidecar
image: "ghcr.io/tacoinfra/tezos-k8s-utils:main"
Expand Down Expand Up @@ -785,23 +773,11 @@ spec:
name: tezos-net
- containerPort: 9932
name: metrics
startupProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 180
periodSeconds: 10
readinessProbe:
httpGet:
path: /is_synced
port: 31732
successThreshold: 1
periodSeconds: 10
livenessProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 30
periodSeconds: 10

- name: baker-0-013-ptjakart
Expand Down Expand Up @@ -1432,23 +1408,11 @@ spec:
name: tezos-net
- containerPort: 9932
name: metrics
startupProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 180
periodSeconds: 10
readinessProbe:
httpGet:
path: /is_synced
port: 31732
successThreshold: 1
periodSeconds: 10
livenessProbe:
httpGet:
path: /is_synced
port: 31732
failureThreshold: 30
periodSeconds: 10

- name: sidecar
Expand Down

0 comments on commit e8bf273

Please sign in to comment.