Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
Signed-off-by: ryanohnemus <[email protected]>
  • Loading branch information
ryanohnemus committed Feb 10, 2024
1 parent 4398fae commit 50973fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/opensearch/hosted.bats
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ DETIK_CLIENT_NAMESPACE="${TEST_NAMESPACE}"
try "at most 15 times every 2s " \
"to find 1 pods named 'fluent-bit' " \
"with 'status' being 'running'"

attempt=0
while true; do
run curl -XGET --header 'Content-Type: application/json' --insecure -s -w "%{http_code}" https://${HOSTED_OPENSEARCH_USERNAME}:${HOSTED_OPENSEARCH_PASSWORD}@${HOSTED_OPENSEARCH_HOST}/fluentbit/_search/ -d '{ "query": { "range": { "timestamp": { "gte": "now-15s" }}}}' -o /dev/null
Expand All @@ -75,4 +75,4 @@ DETIK_CLIENT_NAMESPACE="${TEST_NAMESPACE}"
break
fi
done
}
}

0 comments on commit 50973fe

Please sign in to comment.