test: run geth blacklist test also serial (#3469)

This commit is contained in:
Matthias Seitz
2023-06-29 18:09:13 +02:00
committed by GitHub
parent f49feff5a7
commit b0df0262e3
3 changed files with 30 additions and 4 deletions

31
Cargo.lock generated
View File

@ -5388,7 +5388,7 @@ dependencies = [
"proc-macro2 1.0.60",
"quote 1.0.28",
"regex",
"serial_test",
"serial_test 0.10.0",
"syn 2.0.18",
"trybuild",
]
@ -5457,7 +5457,7 @@ dependencies = [
"secp256k1",
"serde",
"serde_json",
"serial_test",
"serial_test 2.0.0",
"tempfile",
"thiserror",
"tokio",
@ -6469,7 +6469,21 @@ dependencies = [
"lazy_static",
"log",
"parking_lot 0.12.1",
"serial_test_derive",
"serial_test_derive 0.10.0",
]
[[package]]
name = "serial_test"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e56dd856803e253c8f298af3f4d7eb0ae5e23a737252cd90bb4f3b435033b2d"
dependencies = [
"dashmap",
"futures",
"lazy_static",
"log",
"parking_lot 0.12.1",
"serial_test_derive 2.0.0",
]
[[package]]
@ -6483,6 +6497,17 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "serial_test_derive"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f"
dependencies = [
"proc-macro2 1.0.60",
"quote 1.0.28",
"syn 2.0.18",
]
[[package]]
name = "sha-1"
version = "0.9.8"

View File

@ -86,7 +86,7 @@ enr = { version = "0.8.1", features = ["serde", "rust-secp256k1"] }
# misc
hex = "0.4"
tempfile = "3.3"
serial_test = "0.10"
serial_test = "2.0"
[features]
default = ["serde"]

View File

@ -309,6 +309,7 @@ async fn test_connect_to_trusted_peer() {
}
#[tokio::test(flavor = "multi_thread")]
#[serial_test::serial]
#[cfg_attr(not(feature = "geth-tests"), ignore)]
async fn test_incoming_node_id_blacklist() {
reth_tracing::init_test_tracing();