diff --git a/src/modules/services/kafka-connect.nix b/src/modules/services/kafka-connect.nix index f18af9a10..04fe87539 100644 --- a/src/modules/services/kafka-connect.nix +++ b/src/modules/services/kafka-connect.nix @@ -185,7 +185,7 @@ in initial_delay_seconds = 2; http_get = { path = "/connectors"; - port = "8083"; + port = 8083; }; }; diff --git a/tests/kafka-connect/.test.sh b/tests/kafka-connect/.test.sh index e9690a205..0d947510a 100755 --- a/tests/kafka-connect/.test.sh +++ b/tests/kafka-connect/.test.sh @@ -1,3 +1,8 @@ set -e -curl http://localhost:8083/connectors -H "Content-Type: application/json" +curl --connect-timeout 5 \ + --max-time 5 \ + --retry 9 \ + --retry-delay 2 \ + --retry-all-errors \ + http://localhost:8083/connectors