fix typo in test name and enable single thread on windows
This commit is contained in:
parent
60b43c0ff4
commit
b53b0b99ef
|
@ -23,14 +23,14 @@ 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]
|
||||||
fn rpc_sever_spawn_parallel_threads() {
|
#[cfg(not(target_os = "windows"))]
|
||||||
|
fn rpc_server_spawn_parallel_threads() {
|
||||||
rpc_server_spawn(true)
|
rpc_server_spawn(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue