Skip to content

Commit

Permalink
increase the sleep for aks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamir David authored and Tamir David committed Oct 20, 2024
1 parent 4b94dec commit e452ff0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tests/e2e/helm-chart/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,22 @@ spec:
try:
- script:
content: |
echo "Starting Odigos version check..."
export ACTUAL_VERSION=$(../../../cli/odigos version --cluster)
echo "Actual Version: $ACTUAL_VERSION"
if [ "$MODE" = "cross-cloud-tests" ]; then
if [ "$ACTUAL_VERSION" != "$COMMIT_HASH" ]; then
echo "Odigos version is not the expected commit hash, got $ACTUAL_VERSION"
exit 1
fi
# Sleep to allow odigos to start on the cluster, it is take some time for AKS to start the pods.
echo "Sleeping for 20 seconds to allow Odigos to start"
sleep 20
echo "Sleeping for 35 seconds to allow Odigos to start"
for i in {1..7}; do
sleep 5
echo "Still waiting... Slept for $((i*5)) seconds"
done
else
if [ "$ACTUAL_VERSION" != "e2e-test" ]; then
echo "Odigos version is not e2e-test, got $ACTUAL_VERSION"
Expand Down

0 comments on commit e452ff0

Please sign in to comment.