From 4ad17ef0503a38836d37aeb82f52d8e712b9d541 Mon Sep 17 00:00:00 2001 From: Will Gibson <8738245+WillGibson@users.noreply.github.com> Date: Sat, 16 Nov 2024 10:02:47 +0000 Subject: [PATCH] Stop concurrent operation --- .github/workflows/python-mutation-tests.yml | 64 ++++++++++----------- cosmic-ray.toml | 17 +++--- 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/.github/workflows/python-mutation-tests.yml b/.github/workflows/python-mutation-tests.yml index 896c17841..70efde289 100644 --- a/.github/workflows/python-mutation-tests.yml +++ b/.github/workflows/python-mutation-tests.yml @@ -37,38 +37,38 @@ jobs: - name: Run mutation tests run: | - mkdir cosmic-ray-worker1 - cp -R ./dbt_platform_helper cosmic-ray-worker1 - cp -R ./tests cosmic-ray-worker1 - ls cosmic-ray-worker1 - mkdir cosmic-ray-worker2 - cp -R ./dbt_platform_helper cosmic-ray-worker2 - cp -R ./tests cosmic-ray-worker2 - ls cosmic-ray-worker2 - mkdir cosmic-ray-worker3 - cp -R ./dbt_platform_helper cosmic-ray-worker3 - cp -R ./tests cosmic-ray-worker3 - ls cosmic-ray-worker3 - mkdir cosmic-ray-worker4 - cp -R ./dbt_platform_helper cosmic-ray-worker4 - cp -R ./tests cosmic-ray-worker4 - ls cosmic-ray-worker4 - cd cosmic-ray-worker1 - cosmic-ray --verbosity INFO http-worker --port 9876 > /dev/null 2>&1 & - cd ../ - echo "Started worker1" - cd cosmic-ray-worker2 - cosmic-ray --verbosity INFO http-worker --port 9877 > /dev/null 2>&1 & - cd ../ - echo "Started worker2" - cd cosmic-ray-worker3 - cosmic-ray --verbosity INFO http-worker --port 9878 > /dev/null 2>&1 & - cd ../ - echo "Started worker3" - cd cosmic-ray-worker4 - cosmic-ray --verbosity INFO http-worker --port 9879 > /dev/null 2>&1 & - cd ../ - echo "Started worker4" + # mkdir cosmic-ray-worker1 + # cp -R ./dbt_platform_helper cosmic-ray-worker1 + # cp -R ./tests cosmic-ray-worker1 + # ls cosmic-ray-worker1 + # mkdir cosmic-ray-worker2 + # cp -R ./dbt_platform_helper cosmic-ray-worker2 + # cp -R ./tests cosmic-ray-worker2 + # ls cosmic-ray-worker2 + # mkdir cosmic-ray-worker3 + # cp -R ./dbt_platform_helper cosmic-ray-worker3 + # cp -R ./tests cosmic-ray-worker3 + # ls cosmic-ray-worker3 + # mkdir cosmic-ray-worker4 + # cp -R ./dbt_platform_helper cosmic-ray-worker4 + # cp -R ./tests cosmic-ray-worker4 + # ls cosmic-ray-worker4 + # cd cosmic-ray-worker1 + # cosmic-ray --verbosity INFO http-worker --port 9876 > /dev/null 2>&1 & + # cd ../ + # echo "Started worker1" + # cd cosmic-ray-worker2 + # cosmic-ray --verbosity INFO http-worker --port 9877 > /dev/null 2>&1 & + # cd ../ + # echo "Started worker2" + # cd cosmic-ray-worker3 + # cosmic-ray --verbosity INFO http-worker --port 9878 > /dev/null 2>&1 & + # cd ../ + # echo "Started worker3" + # cd cosmic-ray-worker4 + # cosmic-ray --verbosity INFO http-worker --port 9879 > /dev/null 2>&1 & + # cd ../ + # echo "Started worker4" poetry run cosmic-ray init cosmic-ray.toml cosmic-ray.sqlite --force echo "Initialised" poetry run cosmic-ray --verbosity INFO exec cosmic-ray.toml cosmic-ray.sqlite diff --git a/cosmic-ray.toml b/cosmic-ray.toml index 6489d3ddf..47d812f31 100644 --- a/cosmic-ray.toml +++ b/cosmic-ray.toml @@ -7,12 +7,13 @@ excluded-modules = [ test-command = "poetry run pytest" [cosmic-ray.distributor] -name = "http" +name = "local" +# name = "http" -[cosmic-ray.distributor.http] -worker-urls = [ - "http://localhost:9876", - "http://localhost:9877", - "http://localhost:9878", - "http://localhost:9879" -] +# [cosmic-ray.distributor.http] +# worker-urls = [ +# "http://localhost:9876", +# "http://localhost:9877", +# "http://localhost:9878", +# "http://localhost:9879" +# ]