Skip to content

Commit

Permalink
Revert "[git-transport] async-executor (Local) hangs…"
Browse files Browse the repository at this point in the history
This reverts commit 68ac51b.
  • Loading branch information
Byron committed Jun 4, 2021
1 parent 68ac51b commit ec8bcd0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion git-transport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@ base64 = { version = "0.13.0", optional = true }
async-std = { version = "1.9.0", features = ["attributes"] }
maybe-async = "0.2.4"
git-pack = { version = "^0.2", path = "../git-pack" }
async-executor = "1.4.1"
4 changes: 1 addition & 3 deletions git-transport/tests/client/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,7 @@ async fn handshake_v2_and_request() -> crate::Result {
input::Mode::Verify,
input::EntryDataMode::Crc32,
)?;
let executor = async_executor::LocalExecutor::new();
let task = executor.spawn(async move { entries.count() });
assert_eq!(task.await, expected_entries);
assert_eq!(entries.count(), expected_entries);
}

let messages = Arc::try_unwrap(messages).expect("no other handle").into_inner()?;
Expand Down

0 comments on commit ec8bcd0

Please sign in to comment.