wix / greyhound

Greyhound - Rich Kafka client library
MIT License
515 stars 37 forks source link

ZIO Magic Reproducible Bug #538

Open guygo87 opened 1 year ago

guygo87 commented 1 year ago

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).