Skip to content

Commit df0bbbc

Browse files
committed
run all tests without failing bicep sql test
1 parent ac7d4e8 commit df0bbbc

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

run-samples.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ BICEP_SAMPLES=(
103103

104104
# 4. Calculate Shard
105105
# Combine script-based, Terraform, and Bicep samples into one array
106-
#ALL_SAMPLES=("${SAMPLES[@]}" "${TERRAFORM_SAMPLES[@]}" "${BICEP_SAMPLES[@]}")
107-
ALL_SAMPLES=("${BICEP_SAMPLES[@]}")
106+
ALL_SAMPLES=("${SAMPLES[@]}" "${TERRAFORM_SAMPLES[@]}" "${BICEP_SAMPLES[@]}")
108107
TOTAL=${#ALL_SAMPLES[@]}
109108
SHARD=${1:-1}
110109
SPLITS=${2:-1}
@@ -174,10 +173,8 @@ for (( i=START; i<START+COUNT; i++ )); do
174173
echo "Completed: $path"
175174

176175
# Cleanup Docker resources after each test to free up disk space
177-
# IMPORTANT: Exclude LocalStack container from cleanup to maintain state
178-
echo "Cleaning up Docker resources (excluding LocalStack)..."
179-
docker ps -aq --filter "label!=com.docker.compose.project=localstack" | xargs -r docker rm -f 2>/dev/null || true
180-
docker images -q --filter "dangling=true" | xargs -r docker rmi -f 2>/dev/null || true
176+
echo "Cleaning up Docker resources..."
177+
docker system prune -af --volumes || true
181178
echo ""
182179
done
183180

0 commit comments

Comments
 (0)