cleanups to make CI pass (well, fail because the bug isn't fixed yet)

This commit is contained in:
Christian Schwarz
2025-01-14 22:45:09 +01:00
parent 1f7d173235
commit 53b05c4ba0
7 changed files with 35 additions and 12 deletions

View File

@@ -50,7 +50,8 @@ async fn main() -> anyhow::Result<()> {
let _: () = res?;
}
stdout().write(b"R")?;
let n = stdout().write(b"R")?;
assert_eq!(n, 1);
stdout().flush()?;
eprintln!("waiting for signal to tell us to exit");

View File

@@ -617,6 +617,7 @@ impl BatchedFeMessage {
page.timer.observe_execution_start(at);
}
}
#[cfg(feature = "testing")]
BatchedFeMessage::Test { requests, .. } => {
for req in requests {
req.timer.observe_execution_start(at);
@@ -960,6 +961,7 @@ impl PageServerHandler {
accum_pages.extend(this_pages);
Ok(())
}
#[cfg(feature = "testing")]
(
Ok(BatchedFeMessage::Test {
shard: accum_shard,
@@ -1885,7 +1887,7 @@ impl PageServerHandler {
results.push({
if timeline.cancel.is_cancelled() {
Err(PageStreamError::Shutdown)
Err(PageReconstructError::Cancelled)
} else {
Ok(())
}