diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed04cb8844c..22c4ed07369 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -236,10 +236,14 @@ jobs: - name: Core System Tests if: matrix.build_type == 'system' && matrix.target == 'core' + env: + CHECKOUT_TIMEOUT: 10 run: RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation spec/system - name: Plugin System Tests if: matrix.build_type == 'system' && matrix.target == 'plugins' + env: + CHECKOUT_TIMEOUT: 10 run: | GLOBIGNORE="plugins/chat/*"; LOAD_PLUGINS=1 RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation plugins/*/spec/system @@ -248,11 +252,15 @@ jobs: - name: Chat System Tests if: matrix.build_type == 'system' && matrix.target == 'chat' + env: + CHECKOUT_TIMEOUT: 10 run: LOAD_PLUGINS=1 RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation plugins/chat/spec/system timeout-minutes: 30 - name: Theme System Tests if: matrix.build_type == 'system' && matrix.target == 'themes' + env: + CHECKOUT_TIMEOUT: 10 run: | RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --profile=50 --verbose --format documentation tmp/themes/*/spec/system shell: bash diff --git a/config/database.yml b/config/database.yml index b196491c2ae..a8ff6cecb55 100644 --- a/config/database.yml +++ b/config/database.yml @@ -38,6 +38,7 @@ test: min_messages: warning pool: 1 reaping_frequency: 0 + checkout_timeout: <% ENV["CHECKOUT_TIMEOUT"] || 5 %> host_names: - test.localhost