1
0
Fork 0
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:
Ben Busby 2022-07-27 14:12:48 -06:00
parent 00225fdbc6
commit 592e492a62
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -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