refactor(managed): transact group session opening

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 12:12:05 +07:00
1 parent ff27ec24c6
commit e270183f5d
3 files changed
+637 -77

No files matched your search

+4 -1
View File
@@ -225,7 +225,10 @@ fn trusted_zero_token_normal_reply_is_terminal() {
});
let mut client = Client::connect(default_test_config(server.addr)).unwrap();
assert!(matches!(client.open(), Err(ClientError::ZeroToken)));
assert!(matches!(
client.open(),
Err(ClientError::Protocol(irtt_proto::ProtoError::ZeroToken))
));
assert_eq!(server.rx.iter().take(1).count(), 1);
assert!(client.runtime.prepare_open_request().is_ok());
assert!(client.schedule.is_none());