Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ctring committed Aug 4, 2023
1 parent dc017d1 commit 3ea895d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pageserver/src/tenant/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4842,7 +4842,10 @@ pub fn compare_arced_layers<L: ?Sized>(left: &Arc<L>, right: &Arc<L>) -> bool {
mod tests {
use std::sync::Arc;

use utils::{id::TimelineId, lsn::Lsn};
use utils::{
id::{RegionId, TimelineId},
lsn::Lsn,
};

use crate::tenant::{harness::TenantHarness, storage_layer::PersistentLayer};

Expand Down Expand Up @@ -4870,7 +4873,7 @@ mod tests {
let ctx = any_context();
let tenant = harness.try_load(&ctx, Some(remote_storage)).await.unwrap();
let timeline = tenant
.create_test_timeline(TimelineId::generate(), Lsn(0x10), 14, &ctx)
.create_test_timeline(TimelineId::generate(), Lsn(0x10), 14, RegionId(0), &ctx)
.await
.unwrap();

Expand Down Expand Up @@ -4935,7 +4938,7 @@ mod tests {
let ctx = any_context();
let tenant = harness.try_load(&ctx, Some(remote_storage)).await.unwrap();
let timeline = tenant
.create_test_timeline(TimelineId::generate(), Lsn(0x10), 14, &ctx)
.create_test_timeline(TimelineId::generate(), Lsn(0x10), 14, RegionId(0), &ctx)
.await
.unwrap();

Expand Down

0 comments on commit 3ea895d

Please sign in to comment.