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

Suspicious, possible run order dependent test failure #11

Open
Dkendal opened this issue Jan 20, 2018 · 0 comments
Open

Suspicious, possible run order dependent test failure #11

Dkendal opened this issue Jan 20, 2018 · 0 comments

Comments

@Dkendal
Copy link

Dkendal commented Jan 20, 2018

https://circleci.com/gh/battle-snake/battle_snake/10

..........................................................................................................

  1) test GET index lists all entries on index (BsWeb.GameControllerTest)
     test/controllers/game_controller_test.exs:13
     ** (UndefinedFunctionError) function BsRepo.all/1 is undefined or private. Did you mean one of:
     
           * all/1
           * all/2
     
     code: conn = get(conn, game_path(conn, :index))
     stacktrace:
       (bs) BsRepo.all(BsRepo.GameForm)
       (bs) lib/bs_web/controllers/game_controller.ex:8: BsWeb.GameController.index/2
       (bs) lib/bs_web/controllers/game_controller.ex:1: BsWeb.GameController.action/2
       (bs) lib/bs_web/controllers/game_controller.ex:1: BsWeb.GameController.phoenix_controller_pipeline/2
       (bs) lib/bs_web/endpoint.ex:1: BsWeb.Endpoint.instrument/4
       (phoenix) lib/phoenix/router.ex:278: Phoenix.Router.__call__/1
       (bs) lib/bs_web/endpoint.ex:1: BsWeb.Endpoint.plug_builder_call/2
       (bs) lib/bs_web/endpoint.ex:1: BsWeb.Endpoint.call/2
       (phoenix) lib/phoenix/test/conn_test.ex:224: Phoenix.ConnTest.dispatch/5
       test/controllers/game_controller_test.exs:14: (test)

     The following output was logged:
     19:28:11.705 request_id=4mojb1dt49b6ommmr54cn3pfrgb10u0t [info] GET /
     19:28:11.705 request_id=4mojb1dt49b6ommmr54cn3pfrgb10u0t [debug] Processing with BsWeb.GameController.index/2
       Parameters: %{}
       Pipelines: [:browser]
     19:28:11.711 request_id=4mojb1dt49b6ommmr54cn3pfrgb10u0t [info] Sent 500 in 6ms
     
...........

Finished in 0.9 seconds
3 properties, 116 tests, 1 failure, 1 skipped

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

No branches or pull requests

1 participant