Ádám wrote:

it seems something was setting incorrect value at your end

You're right!

I found |FINERACT_EXTERNAL_EVENTS_PRODUCER_JMS_ENABLED| in my env. When that's set to |true|, fineract-provider cucumber tests fail with |Session cache size must be 1 or higher| error.

# repro - crash
export FINERACT_EXTERNAL_EVENTS_PRODUCER_JMS_ENABLED=true
./gradlew --no-daemon :fineract-provider:cucumber

# works
export FINERACT_EXTERNAL_EVENTS_PRODUCER_JMS_ENABLED=false
./gradlew --no-daemon :fineract-provider:cucumber

I also noticed I was sometimes using the Gradle daemon (like in that repro above), and sometimes not... argh! The daemon picks up env vars. I'll need to stick with |--no-daemon| or more carefully manage env vars.

I'm not exactly down to the root cause but close enough. I don't know when my local dev env changed or if something changed in Fineract to cause this.

Reply via email to