fix rejoin after quit (#10100)
Release Notes: - collab: Fixed rejoining channels quickly after a restart
This commit is contained in:
parent
8958c9e10f
commit
fe7b12c444
9 changed files with 124 additions and 49 deletions
|
@ -135,9 +135,10 @@ impl TestServer {
|
|||
(server, client_a, client_b, channel_id)
|
||||
}
|
||||
|
||||
pub async fn start1(cx: &mut TestAppContext) -> TestClient {
|
||||
pub async fn start1(cx: &mut TestAppContext) -> (TestServer, TestClient) {
|
||||
let mut server = Self::start(cx.executor().clone()).await;
|
||||
server.create_client(cx, "user_a").await
|
||||
let client = server.create_client(cx, "user_a").await;
|
||||
(server, client)
|
||||
}
|
||||
|
||||
pub async fn reset(&self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue