Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"[error] Elixir.Ask.Swoosh.Adapters.Test does not exist" message logged in tests #2312

Open
matiasgarciaisaia opened this issue Feb 21, 2024 · 0 comments
Labels

Comments

@matiasgarciaisaia
Copy link
Member

As of 85e69e8, when running the specs in the CI, we've seen a message like this one:

Run docker compose run --rm -e MIX_ENV=test app mix do compile --warnings-as-errors, ecto.create, ecto.load, test
  docker compose run --rm -e MIX_ENV=test app mix do compile --warnings-as-errors, ecto.create, ecto.load, test
  docker compose run --rm webpack yarn test
  docker compose run --rm webpack yarn webpack
  docker compose run --rm webpack yarn flow check
  docker compose run --rm webpack yarn eslint
  shell: /usr/bin/bash -e {0}
 Container surveda-db-1  Running
Compiling 207 files (.ex)
Error: 06:33:52.285 [error] Elixir.Ask.Swoosh.Adapters.Test does not exist
Generated ask app
The database for Ask.Repo has been created
06:33:59.595 [debug] QUERY OK db=0.4ms decode=1.2ms queue=1.9ms idle=0.0ms
SELECT true FROM information_schema.tables WHERE table_name = ? AND table_schema = DATABASE() LIMIT 1 ["schema_migrations"]
The structure for Ask.Repo has been loaded from /app/priv/repo/structure.sql
06:34:00.450 [info]  Migrations already up
[ ... ]

The error seems to be a bug in Swoosh, fixed in 1.11.4 (see swoosh/swoosh#792).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant