Compiles and local test get_binned_binary runs through with cache ignore

This commit is contained in:
Dominik Werder
2021-05-26 15:59:58 +02:00
parent e312db7ac2
commit 11d1df238d
9 changed files with 82 additions and 79 deletions
+4 -3
View File
@@ -44,11 +44,11 @@ fn test_cluster() -> Cluster {
}
#[test]
fn get_binned() {
taskrun::run(get_binned_0_inner()).unwrap();
fn get_binned_binary() {
taskrun::run(get_binned_binary_inner()).unwrap();
}
async fn get_binned_0_inner() -> Result<(), Error> {
async fn get_binned_binary_inner() -> Result<(), Error> {
let cluster = test_cluster();
let _hosts = spawn_test_hosts(cluster.clone());
get_binned_channel(
@@ -115,6 +115,7 @@ where
let req = hyper::Request::builder()
.method(http::Method::GET)
.uri(uri)
.header("accept", "application/octet-stream")
.body(Body::empty())?;
let client = hyper::Client::new();
let res = client.request(req).await?;