Fix race condition in integration test

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-07-13 13:24:48 -06:00
co-authored by Max Brunsfeld
parent 411e7df931
commit 82569a031f
3 changed files with 64 additions and 14 deletions
-2
View File
@@ -2519,8 +2519,6 @@ mod remote {
rpc: &rpc::Client,
cx: &mut AsyncAppContext,
) -> anyhow::Result<()> {
eprintln!("got buffer_saved {:?}", envelope.payload);
rpc.state
.read()
.await