aboutsummaryrefslogtreecommitdiff
path: root/test/rest-curl.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/rest-curl.yml')
-rw-r--r--test/rest-curl.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/rest-curl.yml b/test/rest-curl.yml
index 05fc178..7ee719a 100644
--- a/test/rest-curl.yml
+++ b/test/rest-curl.yml
@@ -22,10 +22,7 @@ data:
curl -X POST \
-H "Content-Type: application/vnd.kafka.json.v2+json" -H "Accept: application/vnd.kafka.v2+json" \
--data "{\"records\":[{\"value\":\"Test from $HOSTNAME at $(date -u -Iseconds)\"}]}" \
- $REST/topics/$TOPIC -v --max-time 30 \
- || echo " (timeout might be ok because we only want to send one message)"
- # TODO why does the above block?
-
+ $REST/topics/$TOPIC
curl --retry 10 -H 'Accept: application/vnd.kafka.v2+json' $REST/topics/$TOPIC/partitions
echo ""