Skip to content

Commit ac5a2b5

Browse files
authored
[CI] : increase retries count for node-addition test (#375)
* increase retries count for node-addition test * bump sleep time from 15 to 20 secs for flaky tests
1 parent 28651da commit ac5a2b5

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

e2e/test/lb-http-body-health-check/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ spec:
6060
echo "All conditions met"
6161
break
6262
fi
63-
echo "Conditions not met, retrying in 15 seconds..."
63+
echo "Conditions not met, retrying in 20 seconds..."
6464
echo "check: $port_80_check"
6565
echo "path: $port_80_path"
6666
echo "body: $port_80_body"
6767
echo "protocol: $port_80_protocol"
6868
echo "up_nodes: $port_80_up_nodes"
69-
sleep 15
69+
sleep 20
7070
done
7171
check:
7272
($error == null): true

e2e/test/lb-http-status-health-check/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ spec:
5858
echo "All conditions met"
5959
break
6060
fi
61-
echo "Conditions not met, retrying in 15 seconds..."
61+
echo "Conditions not met, retrying in 20 seconds..."
6262
echo "check: $port_80_check"
6363
echo "path: $port_80_path"
6464
echo "protocol: $port_80_protocol"
6565
echo "up_nodes: $port_80_up_nodes"
66-
sleep 15
66+
sleep 20
6767
done
6868
check:
6969
($error == null): true

e2e/test/lb-passive-health-check/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ spec:
5858
echo "All conditions met"
5959
break
6060
fi
61-
echo "Conditions not met, retrying in 15 seconds..."
61+
echo "Conditions not met, retrying in 20 seconds..."
6262
echo "port_80_check: $port_80_check"
6363
echo "port_80_passive: $port_80_passive"
6464
echo "port_80_up_nodes: $port_80_up_nodes"
65-
sleep 15
65+
sleep 20
6666
done
6767
check:
6868
($error == null): true

e2e/test/lb-tcp-connection-health-check/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ spec:
6161
echo "All conditions met"
6262
break
6363
fi
64-
echo "Conditions not met, retrying in 15 seconds..."
64+
echo "Conditions not met, retrying in 20 seconds..."
6565
echo "check: $port_80_check"
6666
echo "interval: $port_80_interval"
6767
echo "timeout: $port_80_timeout"
6868
echo "attempts: $port_80_attempts"
6969
echo "protocol: $port_80_protocol"
7070
echo "up_nodes: $port_80_up_nodes"
71-
sleep 15
71+
sleep 20
7272
done
7373
check:
7474
($error == null): true

e2e/test/lb-updated-with-nb-id/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ spec:
6161
echo "Condition met"
6262
break
6363
fi
64-
echo "Condition not met, waiting for 10 seconds and retrying..."
64+
echo "Condition not met, waiting for 20 seconds and retrying..."
6565
echo "nbid: $nbid"
6666
echo "nbid2: $nbid2"
67-
sleep 10
67+
sleep 20
6868
done
6969
check:
7070
($error == null): true

e2e/test/lb-with-multiple-http-https-ports/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ spec:
7373
port_8443=$(curl --resolve linode.test:8443:$IP --cacert ../certificates/ca.crt -s https://linode.test:8443 | grep "test-" || true)
7474
7575
if [[ -z $port_80 || -z $port_8080 || -z $port_443 || -z $port_8443 ]]; then
76-
echo "pod not reachable on all ports, retrying in 15 seconds..."
76+
echo "pod not reachable on all ports, retrying in 20 seconds..."
7777
echo "port 80: $port_80"
7878
echo "port 8080: $port_8080"
7979
echo "port 443: $port_443"
8080
echo "port 8443: $port_8443"
81-
sleep 15
81+
sleep 20
8282
else
8383
echo "all pods responded"
8484
break

e2e/test/lb-with-node-addition/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
4040
echo "Nodebalancer ID: $nbid"
4141
42-
for i in {1..10}; do
42+
for i in {1..20}; do
4343
nbconfig=$(curl -s \
4444
-H "Authorization: Bearer $LINODE_TOKEN" \
4545
-H "Content-Type: application/json" \
@@ -57,7 +57,7 @@ spec:
5757
fi
5858
echo "Condition not met, waiting for all nodes to be ready"
5959
echo "port_80_up_nodes: $port_80_up_nodes"
60-
sleep 15
60+
sleep 20
6161
done
6262
check:
6363
($error == null): true

0 commit comments

Comments
 (0)