Run cargo tests in windows ci

This commit is contained in:
Fabrice Reix 2021-02-23 18:53:29 +01:00
parent cb1766bcba
commit 4df5f052b4
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ jobs:
Get-Job -Name mitmdump Get-Job -Name mitmdump
Start-Sleep 5 Start-Sleep 5
cd .. cd ..
#cargo test --verbose cargo test --verbose
- name: Run Integration tests - name: Run Integration tests
run: | run: |
cargo build --release --verbose cargo build --release --verbose

View File

@ -538,7 +538,7 @@ fn test_error_ssl() {
let request = default_get_request("https://localhost:8001/hello".to_string()); let request = default_get_request("https://localhost:8001/hello".to_string());
let error = client.execute(&request, 0).err().unwrap(); let error = client.execute(&request, 0).err().unwrap();
let message = if cfg!(windows) { let message = if cfg!(windows) {
"schannel: SEC_E_UNTRUSTED_ROOT (0x80090325)".to_string() "schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.".to_string()
} else { } else {
"SSL certificate problem: self signed certificate".to_string() "SSL certificate problem: self signed certificate".to_string()
}; };