Skip to content

Commit d81ac6c

Browse files
committed
Debugging the Blue/Green e2e tests
1 parent 7d1bfb5 commit d81ac6c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

e2e-tests/data/bluegreen-laststate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
image: flink:1.20
2929
flinkVersion: v1_20
3030
flinkConfiguration:
31-
rest.port: "8081"
31+
# rest.port: "8081"
3232
execution.checkpointing.interval: "10s"
3333
execution.checkpointing.storage: "filesystem"
3434
state.backend.incremental: "true"
@@ -59,7 +59,7 @@ spec:
5959
claimName: flink-bg-laststate
6060
taskManager:
6161
resource:
62-
memory: 2G
62+
memory: 1G
6363
cpu: 1
6464
job:
6565
jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar

e2e-tests/data/bluegreen-stateless.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
image: flink:1.20
2929
flinkVersion: v1_20
3030
flinkConfiguration:
31-
rest.port: "8081"
31+
# rest.port: "8081"
3232
taskmanager.numberOfTaskSlots: "1"
3333
serviceAccount: flink
3434
jobManager:
@@ -37,7 +37,7 @@ spec:
3737
cpu: 1
3838
taskManager:
3939
resource:
40-
memory: 2G
40+
memory: 1G
4141
cpu: 1
4242
job:
4343
jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar

e2e-tests/test_bluegreen_laststate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ kubectl exec -it $jm_pod_name -- bash -c "ls -lt /opt/flink/volume/flink-sp/"
6464

6565
tm_pod_name=""
6666
for i in $(seq 1 4); do
67-
echo "==="
67+
echo "====="
6868
echo "LISTING PODS:"
6969
kubectl get pods
7070

@@ -74,7 +74,7 @@ for i in $(seq 1 4); do
7474
fi
7575
kubectl logs $jm_pod_name -c flink-main-container
7676

77-
echo "---"
77+
echo "--==--"
7878
if [ "$tm_pod_name" = "" ]; then
7979
tm_pod_name=$(kubectl get pods --selector="app=${GREEN_CLUSTER_ID},component=taskmanager" -o jsonpath='{..metadata.name}')
8080
echo "Set TM pod name:" $tm_pod_name

e2e-tests/test_bluegreen_stateless.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ kubectl patch flinkbgdep ${BG_CLUSTER_ID} --type merge --patch '{"spec":{"templa
5252
jm_pod_name=""
5353
tm_pod_name=""
5454
for i in $(seq 1 4); do
55-
echo "==="
55+
echo "====="
5656
echo "LISTING PODS:"
5757
kubectl get pods
5858

@@ -62,7 +62,7 @@ for i in $(seq 1 4); do
6262
fi
6363
kubectl logs $jm_pod_name -c flink-main-container
6464

65-
echo "---"
65+
echo "--==--"
6666
if [ "$tm_pod_name" = "" ]; then
6767
tm_pod_name=$(kubectl get pods --selector="app=${GREEN_CLUSTER_ID},component=taskmanager" -o jsonpath='{..metadata.name}')
6868
echo "Set TM pod name:" $tm_pod_name

0 commit comments

Comments
 (0)