Skip to content

← All questions

All 4 user(s) with role "standard" are leased — passes locally, four failures in CI

Asked 15,920 views4 answers

Suite is green on my machine and fails in CI, and the difference is the worker count. Local:

bash
sdods run -p demo-shop -e staging -l ui -t @regression -w 4

CI runs the same thing with -w 8. Four scenarios pass, four sit there for what looks like half a minute and then fail with:

text
USER_POOL_EXHAUSTED: All 4 user(s) with role "standard" are leased.

There are four standard accounts in data/staging/users.csv. I assumed a lease was per scenario, so eight workers would just take turns — a scenario takes six seconds, there is plenty of time. It clearly does not work like that. What is the actual unit?

asked by Owen Brackley144 ·

4 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related