testcontainers-elixir
testcontainers-elixir copied to clipboard
Flaky kafka container test
- test with external zookeeper with multiple connected nodes (Testcontainers.Container.KafkaContainerTest) Error: test/container/kafka_container_test.exs:251 ** (MatchError) no match of right hand side value: {:error, [%KafkaEx.Protocol.Produce.Response{topic: "test_topic", partitions: [%{offset: 18446744073709551615, partition: 0, error_code: :unknown_topic_or_partition}]}]} code: {:ok, _} = KafkaEx.produce(topic_name, 0, "hey", worker_name: writer_name, required_acks: 1) stacktrace: test/container/kafka_container_test.exs:267: (test)
@Argonus can you take a look at the latest build failures relating to this and see if its fixable
Will do, sorry for long response time, but i had busy month :D
whenever you have time @Argonus :) ill just retry those flaky tests every time time they fail 💀 🤣
tagged the test as flaky, so it wont affect builds in github
https://github.com/testcontainers/testcontainers-elixir/commit/8d37ef826b33e94c5916a44073d6779f3a799085