confluentinc / confluent-docker-utils

Common Python utils for testing Confluent's Docker images
Apache License 2.0
3 stars 5 forks source link

check_connect_ready must wait for start rest service #25

Closed falkolab closed 2 years ago

falkolab commented 4 years ago

I'v got 404 error in my local docker environment when execute command

bash -c 'cub connect-ready {host} {port} 60 && echo PASS || echo FAIL'

Becouse wrong kafka ready state detection.

check_connect_ready command must wait for 20x status in loop several times with time.sleep(1) while 404 status code received from rest api during bootstrap initialisation.

andrewegel commented 3 years ago

If I'm understanding things here: