chore: update error message when running int tests w/out kafka

pull/24376/head
Luke Bond 2022-12-16 16:10:32 +00:00
parent f419e2c378
commit 656e9ee689
1 changed files with 3 additions and 6 deletions

View File

@ -1451,12 +1451,9 @@ pub mod test_utils {
panic!(
"TEST_INTEGRATION is set which requires running integration tests, but \
KAFKA_CONNECT is not set. Please run Kafka, perhaps by using the command \
`docker-compose -f docker/ci-kafka-docker-compose.yml up kafka`, then \
set KAFKA_CONNECT to the host and port where Kafka is accessible. If \
running the `docker-compose` command and the Rust tests on the host, the \
value for `KAFKA_CONNECT` should be `localhost:9093`. If running the Rust \
tests in another container in the `docker-compose` network as on CI, \
`KAFKA_CONNECT` should be `kafka:9092`."
`docker-compose -f integration-docker-compose.yml up redpanda`, then \
set KAFKA_CONNECT to the host and port where Kafka is accessible. In \
this case the `KAFKA_CONNECT` envvar should be `localhost:9092`."
)
}
(false, Some(_)) => {