Skip to content

Commit f5edd3a

Browse files
thomasywangmeta-codesync[bot]
authored andcommitted
Fix test_supervision_fault (#1821)
Summary: Pull Request resolved: #1821 The API switched from open_port() to bind_actor_port() Reviewed By: vidhyav, shayne-fletcher Differential Revision: D86768973 fbshipit-source-id: a2911ab74131e71eb2df8a4060a0f65abbcd185a
1 parent 6976258 commit f5edd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ mod tests {
18571857
let mut system = System::new(server_handle.local_addr().clone());
18581858
let client_mailbox = system.attach().await.unwrap();
18591859
let (_client_supervision_tx, mut client_supervision_rx) =
1860-
client_mailbox.open_port::<ClientMessage>();
1860+
client_mailbox.bind_actor_port::<ClientMessage>();
18611861

18621862
// Bootstrap the controller
18631863
let controller_id = id!(controller[0].root);

0 commit comments

Comments
 (0)