From 592e492a622972ba1ae57e32cac61ff9e8ec8a76 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Wed, 27 Jul 2022 14:12:48 -0600 Subject: [PATCH] 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. --- .github/workflows/elixir.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 331b4e4..e5439f3 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -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