Skip to content

Commit

Permalink
updated e2e tests with file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Dec 24, 2024
1 parent 08ee1c6 commit e38e3a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/scripts/e2e_tests_metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ if [[ "$EXPECTED_CREATE_BUCKET" -gt 0 ]]; then
echo "Metrics fetched successfully:" | tee -a "$LOG_FILE"
echo "$S3_IAM_METRICS_OUTPUT" | tee -a "$LOG_FILE"

log_and_run cat /tmp/s3_iam_metrics_output.log

CREATE_BUCKET_COUNT="$(echo "$METRICS_OUTPUT" | grep 'scality_cosi_driver_s3_requests_total' | grep 'method="CreateBucket"' | grep 'status="success"' | awk '{print $NF}')"
DELETE_BUCKET_COUNT="$(echo "$METRICS_OUTPUT" | grep 'scality_cosi_driver_s3_requests_total' | grep 'method="DeleteBucket"' | grep 'status="success"' | awk '{print $NF}')"

Expand Down

0 comments on commit e38e3a3

Please sign in to comment.