forked from IBM/sarama
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finalize most of the toxiproxy test framework
- Create `setupFunctionalTest()` and `teardownFunctionalTest()` that handle testing for kafka presence, resetting toxiproxy, etc, and use them everywhere. - Rename `kafkaIsAvailable` to `kafkaAvailable` and `kafkaShouldBeAvailable` to `kafkaRequired`. - Implement a couple of helper methods for managing proxies. - Use toxiproxy for `TestFuncConnectionFailure` so that we know there won't ever be anything else listening on that port.
- Loading branch information
Showing
4 changed files
with
66 additions
and
17 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 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 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 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