Skip to content

Commit

Permalink
enable ipv6 for some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keliramu committed Aug 2, 2023
1 parent ad4ae0f commit 819e1e1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions ci/jobs/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ test/cgo:
- !reference [.cond/on-main, rules]
- !reference [.cond/on-version-tag, rules]
- !reference [.cond/on-merge-request, rules]
script: $CI_PROJECT_DIR/ci/test.sh full
script:
- echo "is ipv6 enabled?"
- sysctl net.ipv6.conf.all.disable_ipv6
- echo "enable ipv6 (it is needed for transport_test)"
- sysctl net.ipv6.conf.all.disable_ipv6=0
- $CI_PROJECT_DIR/ci/test.sh full
artifacts:
paths:
- $CI_PROJECT_DIR/coverage/unit
Expand All @@ -42,7 +47,12 @@ test/go:
dependencies: []
test/deb:
extends: .test_job_template
script: $CI_PROJECT_DIR/ci/test_deb.sh $TEST
script:
- echo "is ipv6 enabled?"
- sysctl net.ipv6.conf.all.disable_ipv6
- echo "enable ipv6"
- sudo sysctl net.ipv6.conf.all.disable_ipv6=0
- $CI_PROJECT_DIR/ci/test_deb.sh $TEST
parallel:
matrix:
- TEST: [connect6, dns, dns6, killswitch, login, misc, routing, settings, whitelist]
Expand Down

0 comments on commit 819e1e1

Please sign in to comment.