We are seeing some issues with the MiniClusterExte...
# troubleshooting
h
We are seeing some issues with the MiniClusterExtension for Junit 5. A pipeline that runs well in a real cluster just hangs during testing with no apparent error. The funny thing it that we have narrowed it down to a state where there are just two DataStreams that when both are active (4 different source and destination topics) it hangs but when only one of them is used it runs just fine.
Has anyone else seen this? It makes it more or less unuseable for us as a testing framework.
Essentially it's just like: • Source(topic_1) -> Sink(topic_2) • Source(topic_3) -> Sink(topic_4) That's it and when any one of them is commented out the other runs.
d
I'm not at all sure, but I wonder if the mini cluster doesn't have enough slots to run the job, and so it's just waiting for another slot to show up -- just like a real cluster would do,
h
I have tried the available toggles but nothing really popped out. We were managing to somehow fixing it but it required basically a new Flink instance per testcase for some cases at least. Not ideal but it seems to work at least.