Run cargo test in single thread (multithread runner might pose a problem to libxml).
@@ -120,7 +120,7 @@ jobs:
wget https://snapshots.mitmproxy.org/5.2/mitmproxy-5.2-linux.tar.gz -O - | tar -xz && ./mitmdump -p 8888 --modify-header "/From-Proxy/Hello" &
- name: Run Tests units
run: |
- cargo test --features strict
+ cargo test --features strict -- --test-threads 1
- name: Run Integration Tests
run: |
export PATH="$PWD/target/debug:$PATH"
@@ -175,7 +175,7 @@ jobs:
mitmdump -p 8888 --modify-header "/From-Proxy/Hello" >mitmdump.log 2>&1 &
ps auxww | grep -v grep | grep -E "server.py|mitmdump"
echo "----- tests units -----"
- cargo test --features strict
+ cargo test --features strict -- --test-threads 1
echo "----- integration tests -----"
./integration.py
- name: Archive production artifacts
@@ -219,7 +219,7 @@ jobs:
mitmdump -p 8888 --modify-header "/From-Proxy/Hello" >mitmdump.log 2>&1 &
ps auxww | grep -v grep | grep -E "server.py|mitmdump"
echo "----- tests units -----"
- cargo test --features strict
+ cargo test --features strict -- --test-threads 1
echo "----- integration tests -----"
./integration.py
- name: Archive production artifacts
@@ -264,7 +264,7 @@ jobs:
mitmdump -p 8888 --modify-header "/From-Proxy/Hello" >mitmdump.log 2>&1 &
ps auxww | grep -v grep | grep -E "server.py|mitmdump"
echo "----- tests units -----"
- cargo test --features strict
+ cargo test --features strict -- --test-threads 1
echo "----- integration tests -----"
./integration.py
- name: Archive production artifacts
@@ -307,7 +307,7 @@ jobs:
wget https://snapshots.mitmproxy.org/5.2/mitmproxy-5.2-osx.tar.gz -O - | tar -xz && ./mitmdump -p 8888 --modify-header "/From-Proxy/Hello" &
- name: Run Tests units
run: |
- cargo test
+ cargo test -- --test-threads 1
- name: Run Integration Tests
run: |
export PATH="$PWD/target/debug:$PATH"
@@ -369,7 +369,7 @@ jobs:
Get-Job -Name mitmdump
Start-Sleep 5
cd ..
- cargo test --verbose
+ cargo test --verbose -- --test-threads 1
- name: Run Integration tests
run: |
cargo build --release --verbose
