Questions tagged pool
Leasing accounts from a user pool so workers do not collide.
17 questions
Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.
295 API scenarios fail with QUOTA_EXCEEDED: Exceeded quota for verifying passwords
Ran the API and hybrid layers, single worker, one browser. 1,152 tests. 295 of the failures are this one message: The credentials are fine. If I run any one of those scenarios on…
asked by Ade Oyinlola335 of 390 scenarios failed at -w 4 with the user pool exhausted, and doctor is all green
Full regression at four workers. 55 passed, 335 failed, and nearly all of the failures are this: The passes are all scenarios that need no user, or need @user:admin, which…
asked by Chandra PillaiPool leased an account whose username is the literal ${TEST_MEMBER_EMAIL} and auth rejected it
Local runs only. CI has been green throughout, which is why this took a day. projects/mybotbox/data/staging/users.csv: The failure is not from SDODS. It is from the auth…
asked by Ingrid SolbergOne viewer account, twelve read-only scenarios, and the suite behaves as if -w 1
A partner gives us exactly one viewer account and will not create more — it is their system, their policy, and no amount of asking has moved it. Twelve scenarios carry…
asked by Rasha Halabiauth.strategy "custom" needs an auth export in steps/auth.ts, and I wrote one
Our login is a two-step form — email, continue, then password on the next screen — so the four selectors in auth.form do not cover it. Set the strategy to custom and wrote the…
asked by Devon Marshusers.poolSize is 4 and now a row that exists in the CSV is not in the pool
envs/staging.yaml has: data/staging/users.csv has five rows. Row five is visual_user, role standard. The name is in the file, spelled the same, and the role exists. Raising…
asked by Rasha Halabisdods auth capture --index 3 says Role "admin" has 2 user(s); index 3 does not exist
The CSV has six rows and the admin I want is on the fourth one, so index 3 by my counting. Where does "2 user(s)" come from?
asked by Tanvi BhattOur @smoke check takes fourteen minutes and people have stopped waiting for it
120 scenarios tagged @smoke, one browser, fourteen minutes on the pull request. The team merges and then reads the result, which means it is not a gate any more. I do not want to…
asked by Tanvi BhattCONFIG_INVALID: Project demo-shop has no data.userPool configured, but data.sources.users exists
Added @user:standard to a scenario. The run stops before the first step: The confusing part is that data.sources.users is declared and works — Given I load dataset "users" row 0…
asked by Sergio AlcarazAn admin approves what a standard user submitted — how do two roles fit in one scenario?
The flow we need to cover: a standard user submits an expense claim, an admin approves it, and the standard user sees it move to approved. @user:standard gives me one role. I…
asked by Anouk de VriesCancelled a run with ctrl-c and now every pool account looks leased
Killed a run halfway through. The next run fails immediately-ish with: Nothing is running. .sdods/leases/demo-shop/staging/ has four .lock files in it, each with an owner and a…
asked by Bruno TeixeiraMy page object needs a signed-in session before goto() — where does the login belong?
Every one of our scenarios opens with the same three steps: go to login, fill two fields, submit. Then the real scenario starts. It is slow — about four seconds a scenario across…
asked by Helle BorgFirst UI run: five scenarios fail on the sign-in page, but the API layer was green
Working through the workshop on my own checkout of the sample app. The API layer passed straight away. Then the browser: Five failures, and as far as I can tell they are all the…
asked by Yusuf DemirHow do people keep real passwords out of a users.csv that has to be committed?
Our pool CSV has a plaintext password column and security review flagged it, fairly. Options I can see are all bad: Is there a fourth thing?
asked by Ify AdeyemiAll 4 user(s) with role "standard" are leased — passes locally, four failures in CI
Suite is green on my machine and fails in CI, and the difference is the worker count. Local: CI runs the same thing with -w 8. Four scenarios pass, four sit there for what looks…
asked by Owen Brackley"@user:admin is not a declared role (standard, locked_out)" — where is that list?
Added an admin-only scenario: We do have an admin account in the users CSV, with role set to admin. So why does lint not see it?
asked by Sam OrbisonUSER_POOL_EXHAUSTED: No users with role "admin" in dataset "users" (env staging)
Tagged a scenario @user:admin and the run fails before a browser even opens: There is definitely an admin in the CSV, I am looking at it. Roles in the file are standard,…
asked by Elsa Nyman