mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 13:10:02 +00:00
Use full service list for tests
The filtered service list isn't guaranteed to have more than one instance per service, which fails a test that was designed to ensure back-to-back requests don't use the same instance. Using the full services json file more accurately tests the intended functionality for Farside.
This commit is contained in:
parent
00225fdbc6
commit
592e492a62
1 changed files with 2 additions and 2 deletions
4
.github/workflows/elixir.yml
vendored
4
.github/workflows/elixir.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
run: mix deps.get
|
||||
|
||||
- name: Initialize services
|
||||
run: FARSIDE_TEST=1 mix run -e Farside.Instances.sync
|
||||
run: FARSIDE_TEST=1 FARSIDE_SERVICES_JSON=services-full.json mix run -e Farside.Instances.sync
|
||||
|
||||
- name: Run tests
|
||||
run: FARSIDE_TEST=1 mix test --trace
|
||||
run: FARSIDE_TEST=1 FARSIDE_SERVICES_JSON=services-full.json mix test --trace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue