When using provide method to build the dependency tree automatically, the tests are flaky (the actual failing reason is that one of the [Ref] that we use is empty, i.e consume topic tests fails as it expects the ref to be non empty).
It looks like some layers are shared between tests/ leaking between tests, or something similar.
When using provideLayer, and building the dependency tree manually everything is working (this is the logic at the moment in master).
When using
provide
method to build the dependency tree automatically, the tests are flaky (the actual failing reason is that one of the [Ref] that we use is empty, i.econsume topic
tests fails as it expects the ref to be non empty).It looks like some layers are shared between tests/ leaking between tests, or something similar.
When using
provideLayer
, and building the dependency tree manually everything is working (this is the logic at the moment in master).