chore: update error message when running int tests w/out kafka
parent
f419e2c378
commit
656e9ee689
|
@ -1451,12 +1451,9 @@ pub mod test_utils {
|
||||||
panic!(
|
panic!(
|
||||||
"TEST_INTEGRATION is set which requires running integration tests, but \
|
"TEST_INTEGRATION is set which requires running integration tests, but \
|
||||||
KAFKA_CONNECT is not set. Please run Kafka, perhaps by using the command \
|
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 \
|
`docker-compose -f integration-docker-compose.yml up redpanda`, then \
|
||||||
set KAFKA_CONNECT to the host and port where Kafka is accessible. If \
|
set KAFKA_CONNECT to the host and port where Kafka is accessible. In \
|
||||||
running the `docker-compose` command and the Rust tests on the host, the \
|
this case the `KAFKA_CONNECT` envvar should be `localhost:9092`."
|
||||||
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`."
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
(false, Some(_)) => {
|
(false, Some(_)) => {
|
||||||
|
|
Loading…
Reference in New Issue