Skip to content

Commit e70b272

Browse files
committed
Fix curl syntax
Signed-off-by: Bryan Boreham <[email protected]>
1 parent b72e81d commit e70b272

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration-tests/test-handover.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ echo Start first ingester
1212
docker run $RUN_ARGS -d --name=i1 --hostname=i1 quay.io/cortexproject/cortex:$IMAGE_TAG -target=ingester $INGESTER_ARGS -ingester.claim-on-rollout=true
1313

1414
I1_ADDR=$(container_ip i1)
15-
wait_for "curl -s -f -m 3 $I1_ADDR:/ready" "ingester ready"
15+
wait_for "curl -s -f -m 3 $I1_ADDR/ready" "ingester ready"
1616

1717
has_tokens_owned() {
18-
curl -s -f -m 3 $1:/metrics | grep -q 'cortex_ring_tokens_owned'
18+
curl -s -f -m 3 $1/metrics | grep -q 'cortex_ring_tokens_owned'
1919
}
2020
DIST_ADDR=$(container_ip distributor)
2121
wait_for "has_tokens_owned $DIST_ADDR" "distributor to see ingester in ring"
@@ -29,4 +29,4 @@ echo Stop first ingester so it should hand over
2929
docker stop i1
3030

3131
I2_ADDR=$(container_ip i2)
32-
wait_for "curl -s -f -m 3 $I2_ADDR:/ready" "ingester ready"
32+
wait_for "curl -s -f -m 3 $I2_ADDR/ready" "ingester ready"

0 commit comments

Comments
 (0)