v0.3.6-pre.005-fix.001
This commit is contained in:
@@ -63,14 +63,13 @@ impl super::SignaturePageSource for FakeSource {
|
||||
},
|
||||
std::result::Result::Err(_) => {
|
||||
return std::boxed::Box::pin(async {
|
||||
return std::result::Result::Err(ksp_core_lib::Error::new(
|
||||
crate::ERROR_CODE_BACKFILL_DISCOVERY_INVALID,
|
||||
"test page queue lock poisoned",
|
||||
));
|
||||
return std::result::Result::Err(ksp_core_lib::Error::new(crate::ERROR_CODE_BACKFILL_DISCOVERY_INVALID, "test page queue lock poisoned"));
|
||||
});
|
||||
},
|
||||
};
|
||||
return std::boxed::Box::pin(async move { return std::result::Result::Ok(page); });
|
||||
return std::boxed::Box::pin(async move {
|
||||
return std::result::Result::Ok(page);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,10 +222,7 @@ async fn pre_005_after_page_bound_is_partial_and_does_not_claim_anchor_completio
|
||||
std::option::Option::Some(value) => value,
|
||||
std::option::Option::None => return,
|
||||
};
|
||||
let source = FakeSource::new(std::vec![
|
||||
std::vec![page_entry('7', 70), page_entry('6', 60)],
|
||||
std::vec![page_entry('5', 50), page_entry('4', 40)],
|
||||
]);
|
||||
let source = FakeSource::new(std::vec![std::vec![page_entry('7', 70), page_entry('6', 60)], std::vec![page_entry('5', 50), page_entry('4', 40)],]);
|
||||
let result = super::discover_with_source(&source, &request).await;
|
||||
let discovery = match result {
|
||||
std::result::Result::Ok(value) => value,
|
||||
|
||||
Reference in New Issue
Block a user