-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-kafka: simplify integration tests
Use the same compose file for integration tests as unit tests, and simplify the setup of the testing.
- Loading branch information
1 parent
e95da7f
commit e721755
Showing
6 changed files
with
8 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
root_dir="$(git rev-parse --show-toplevel)" | ||
kafkactl_config="$root_dir/tests/source-kafka/kafkactl.yaml" | ||
|
||
function kctl() { | ||
docker run -i --network flow-test --mount "type=bind,src=$kafkactl_config,target=/kafkactl.yaml" deviceinsight/kafkactl --config-file=/kafkactl.yaml $@ | ||
} | ||
|
||
# Remove the test topic | ||
kctl delete topic $TEST_STREAM | ||
docker compose -f source-kafka/docker-compose.yaml down -v |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters