Closed sotojn closed 9 months ago
As of right now when you run ts-scripts test with kafka enabled, it will not verify that Kafka is actually running before executing tests.
ts-scripts test
Right now the checkKafka function doesn't do anything
https://github.com/terascope/teraslice/blob/c1358e8770561b97fc08bbf95b6e0ee9f0d4c428/packages/scripts/src/helpers/test-runner/services.ts#L712-L715
We should implement a check by importing a Kafka client that can connect to the brokers to verify that kafka is up and running.
As of right now when you run
ts-scripts test
with kafka enabled, it will not verify that Kafka is actually running before executing tests.Right now the checkKafka function doesn't do anything
https://github.com/terascope/teraslice/blob/c1358e8770561b97fc08bbf95b6e0ee9f0d4c428/packages/scripts/src/helpers/test-runner/services.ts#L712-L715
We should implement a check by importing a Kafka client that can connect to the brokers to verify that kafka is up and running.