disable single thread
This commit is contained in:
parent
1ca6e8e42b
commit
941a082de1
|
@ -23,13 +23,13 @@ use super::super::*;
|
||||||
|
|
||||||
/// Test that the JSON-RPC server spawns when configured with a single thread.
|
/// Test that the JSON-RPC server spawns when configured with a single thread.
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
fn rpc_server_spawn_single_thread() {
|
fn rpc_server_spawn_single_thread() {
|
||||||
rpc_server_spawn(false)
|
rpc_server_spawn(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Test that the JSON-RPC server spawns when configured with multiple threads.
|
/// Test that the JSON-RPC server spawns when configured with multiple threads.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(target_os = "windows"))]
|
|
||||||
fn rpc_server_spawn_parallel_threads() {
|
fn rpc_server_spawn_parallel_threads() {
|
||||||
rpc_server_spawn(true)
|
rpc_server_spawn(true)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue