mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 12:05:32 +03:00
Run cargo tests in windows ci
This commit is contained in:
parent
cb1766bcba
commit
4df5f052b4
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
@ -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()
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user