node: custom agent test

This commit is contained in:
ardocrat
2026-05-01 12:44:15 +03:00
parent e6265a810d
commit 95486a4bc0
+4 -1
View File
@@ -88,7 +88,10 @@ fn peer_handshake() {
)
.unwrap();
assert!(peer.info.user_agent.ends_with(env!("CARGO_PKG_VERSION")));
assert!(peer
.info
.user_agent
.ends_with(format!("{}+", env!("CARGO_PKG_VERSION")).as_str()));
thread::sleep(time::Duration::from_secs(1));