diff --git a/pageserver/src/tenant.rs b/pageserver/src/tenant.rs index 4e03e09a9b8d..30e855eaa2dc 100644 --- a/pageserver/src/tenant.rs +++ b/pageserver/src/tenant.rs @@ -7069,6 +7069,16 @@ mod tests { Lsn(0x30), Value::WalRecord(NeonWalRecord::wal_append("@0x30")), ), + ( + get_key(3), + Lsn(0x28), + Value::WalRecord(NeonWalRecord::wal_append("@0x28")), + ), + ( + get_key(3), + Lsn(0x30), + Value::WalRecord(NeonWalRecord::wal_append("@0x30")), + ), ( get_key(3), Lsn(0x40), @@ -7128,7 +7138,7 @@ mod tests { Bytes::from_static(b"value 0@0x10"), Bytes::from_static(b"value 1@0x10@0x20"), Bytes::from_static(b"value 2@0x10@0x30"), - Bytes::from_static(b"value 3@0x10@0x40"), + Bytes::from_static(b"value 3@0x10@0x28@0x30@0x40"), Bytes::from_static(b"value 4@0x10"), Bytes::from_static(b"value 5@0x10@0x20"), Bytes::from_static(b"value 6@0x10@0x20"), @@ -7141,7 +7151,7 @@ mod tests { Bytes::from_static(b"value 0@0x10"), Bytes::from_static(b"value 1@0x10@0x20"), Bytes::from_static(b"value 2@0x10@0x30"), - Bytes::from_static(b"value 3@0x10"), + Bytes::from_static(b"value 3@0x10@0x28@0x30"), Bytes::from_static(b"value 4@0x10"), Bytes::from_static(b"value 5@0x10@0x20"), Bytes::from_static(b"value 6@0x10@0x20"),