Tests modification for windows CI (#9671)
* Fixing and disabling some tests for windows 10 compatibility. * Few adjustment for windows in tests (eg bigger timeout for keyserver tests) * Spaces and temporary single thread ci (to be able to spot the error).
This commit is contained in:
@@ -1360,7 +1360,7 @@ mod tests {
|
||||
support_token_api: true,
|
||||
max_connections: 100,
|
||||
}, LogConfig {
|
||||
color: true,
|
||||
color: !cfg!(windows),
|
||||
mode: None,
|
||||
file: None,
|
||||
} ));
|
||||
@@ -1871,13 +1871,15 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn should_use_correct_cache_path_if_base_is_set() {
|
||||
use std::path;
|
||||
|
||||
let std = parse(&["parity"]);
|
||||
let base = parse(&["parity", "--base-path", "/test"]);
|
||||
|
||||
let base_path = ::dir::default_data_path();
|
||||
let local_path = ::dir::default_local_path();
|
||||
assert_eq!(std.directories().cache, dir::helpers::replace_home_and_local(&base_path, &local_path, ::dir::CACHE_PATH));
|
||||
assert_eq!(base.directories().cache, "/test/cache");
|
||||
assert_eq!(path::Path::new(&base.directories().cache), path::Path::new("/test/cache"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user