@@ -161,7 +161,12 @@ mod tests {
161161 #[ test]
162162 fn fifo_empty_levels ( ) -> crate :: Result < ( ) > {
163163 let dir = tempfile:: tempdir ( ) ?;
164- let tree = Config :: new ( dir. path ( ) , SequenceNumberCounter :: default ( ) ) . open ( ) ?;
164+ let tree = Config :: new (
165+ dir. path ( ) ,
166+ SequenceNumberCounter :: default ( ) ,
167+ SequenceNumberCounter :: default ( ) ,
168+ )
169+ . open ( ) ?;
165170
166171 let fifo = Arc :: new ( Strategy :: new ( 1 , None ) ) ;
167172 tree. compact ( fifo, 0 ) ?;
@@ -173,7 +178,12 @@ mod tests {
173178 #[ test]
174179 fn fifo_below_limit ( ) -> crate :: Result < ( ) > {
175180 let dir = tempfile:: tempdir ( ) ?;
176- let tree = Config :: new ( dir. path ( ) , SequenceNumberCounter :: default ( ) ) . open ( ) ?;
181+ let tree = Config :: new (
182+ dir. path ( ) ,
183+ SequenceNumberCounter :: default ( ) ,
184+ SequenceNumberCounter :: default ( ) ,
185+ )
186+ . open ( ) ?;
177187
178188 for i in 0 ..4u8 {
179189 tree. insert ( [ b'k' , i] . as_slice ( ) , "v" , u64:: from ( i) ) ;
@@ -191,7 +201,12 @@ mod tests {
191201 #[ test]
192202 fn fifo_more_than_limit ( ) -> crate :: Result < ( ) > {
193203 let dir = tempfile:: tempdir ( ) ?;
194- let tree = Config :: new ( dir. path ( ) , SequenceNumberCounter :: default ( ) ) . open ( ) ?;
204+ let tree = Config :: new (
205+ dir. path ( ) ,
206+ SequenceNumberCounter :: default ( ) ,
207+ SequenceNumberCounter :: default ( ) ,
208+ )
209+ . open ( ) ?;
195210
196211 for i in 0 ..4u8 {
197212 tree. insert ( [ b'k' , i] . as_slice ( ) , "v" , u64:: from ( i) ) ;
@@ -210,9 +225,13 @@ mod tests {
210225 #[ test]
211226 fn fifo_more_than_limit_blobs ( ) -> crate :: Result < ( ) > {
212227 let dir = tempfile:: tempdir ( ) ?;
213- let tree = Config :: new ( dir. path ( ) , SequenceNumberCounter :: default ( ) )
214- . with_kv_separation ( Some ( KvSeparationOptions :: default ( ) . separation_threshold ( 1 ) ) )
215- . open ( ) ?;
228+ let tree = Config :: new (
229+ dir. path ( ) ,
230+ SequenceNumberCounter :: default ( ) ,
231+ SequenceNumberCounter :: default ( ) ,
232+ )
233+ . with_kv_separation ( Some ( KvSeparationOptions :: default ( ) . separation_threshold ( 1 ) ) )
234+ . open ( ) ?;
216235
217236 for i in 0 ..3u8 {
218237 tree. insert ( [ b'k' , i] . as_slice ( ) , "$" , u64:: from ( i) ) ;
@@ -230,7 +249,12 @@ mod tests {
230249 #[ test]
231250 fn fifo_ttl ( ) -> crate :: Result < ( ) > {
232251 let dir = tempfile:: tempdir ( ) ?;
233- let tree = Config :: new ( dir. path ( ) , SequenceNumberCounter :: default ( ) ) . open ( ) ?;
252+ let tree = Config :: new (
253+ dir. path ( ) ,
254+ SequenceNumberCounter :: default ( ) ,
255+ SequenceNumberCounter :: default ( ) ,
256+ )
257+ . open ( ) ?;
234258
235259 // Freeze time and create first (older) table at t=1000s
236260 crate :: time:: set_unix_timestamp_for_test ( Some ( std:: time:: Duration :: from_secs ( 1_000 ) ) ) ;
@@ -260,9 +284,13 @@ mod tests {
260284 #[ test]
261285 fn fifo_ttl_then_limit_additional_drops_blob_unit ( ) -> crate :: Result < ( ) > {
262286 let dir = tempfile:: tempdir ( ) ?;
263- let tree = Config :: new ( dir. path ( ) , SequenceNumberCounter :: default ( ) )
264- . with_kv_separation ( Some ( KvSeparationOptions :: default ( ) . separation_threshold ( 1 ) ) )
265- . open ( ) ?;
287+ let tree = Config :: new (
288+ dir. path ( ) ,
289+ SequenceNumberCounter :: default ( ) ,
290+ SequenceNumberCounter :: default ( ) ,
291+ )
292+ . with_kv_separation ( Some ( KvSeparationOptions :: default ( ) . separation_threshold ( 1 ) ) )
293+ . open ( ) ?;
266294
267295 // Create two tables; we will expire them via time override and force additional drops via limit.
268296 tree. insert ( "a" , "$" , 0 ) ;
0 commit comments