Skip to content

Commit

Permalink
Fix IPv6 resolving issues with playwright on Docker Engine 26.1.3+
Browse files Browse the repository at this point in the history
Somehow Chromium disables IPv6 resolving when there is no IPv6 default route or when it cannot connect to a specific address: https://issues.chromium.org/issues/40435291

Switching to Firefox as browser until this can be solved.
  • Loading branch information
aequitas authored and mxsasha committed Jun 13, 2024
1 parent 3252118 commit 0f217a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ batch-api-create-db-indexes docker-compose-batch-api-create-db-indexes:
tests ?= .
integration-tests: env=test
integration-tests:
${DOCKER_COMPOSE_UP_PULL_CMD} run --rm test-runner --screenshot=only-on-failure --video=retain-on-failure --junit-xml=test-results.xml ${_test_args} ${test_args} -k'${tests}' integration_tests/common/ integration_tests/integration/
${DOCKER_COMPOSE_UP_PULL_CMD} run --rm test-runner --browser=firefox --screenshot=only-on-failure --video=retain-on-failure --junit-xml=test-results.xml ${_test_args} ${test_args} -k'${tests}' integration_tests/common/ integration_tests/integration/
@echo -e "\nTo run with only specific tests use the 'tests' argument with part of the test's name, for example: make integration-tests tests=test_index_http_ok\n"

integration-tests-verbose: _test_args=--verbose --verbose
Expand All @@ -535,7 +535,7 @@ integration-tests-trace: integration-tests

batch-tests: env=batch-test
batch-tests:
${DOCKER_COMPOSE_UP_PULL_CMD} run --rm test-runner --screenshot=only-on-failure --video=retain-on-failure --junit-xml=test-results.xml ${_test_args} ${test_args} -k'${tests}' integration_tests/common/ integration_tests/batch/
${DOCKER_COMPOSE_UP_PULL_CMD} run --rm test-runner --browser=firefox --screenshot=only-on-failure --video=retain-on-failure --junit-xml=test-results.xml ${_test_args} ${test_args} -k'${tests}' integration_tests/common/ integration_tests/batch/

batch-tests-verbose: _test_args=--verbose --verbose
batch-tests-verbose: batch-tests
Expand Down

0 comments on commit 0f217a1

Please sign in to comment.