Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Injecting KafkaCluster into @BeforeEach and @test results in two different clusters #136

Open
SamBarker opened this issue Jun 28, 2023 · 0 comments

Comments

@SamBarker
Copy link
Member

          > If you inject KafkaCluster you will get a different cluster than the test method.

I consider that a bug. Injecting two nameless clusters into a single test method is just about Ok, personally still think they should be named, but I think it violates the principal of least surprise. Naively if I had a KafkaCluster annotation on both setup and test method I'd expect the same cluster.

Originally posted by @SamBarker in #135 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant