Skip to content

Commit

Permalink
chore(kafka): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexnortung committed Nov 15, 2024
1 parent 1ba9070 commit 4e57068
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/services/kafka-connect.nix
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ in
initial_delay_seconds = 2;
http_get = {
path = "/connectors";
port = "8083";
port = 8083;
};
};

Expand Down
7 changes: 6 additions & 1 deletion tests/kafka-connect/.test.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4e57068

Please sign in to comment.