This repository was archived by the owner on Oct 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ async fn backup_restore() {
44
44
bucket_name : BUCKET . to_string ( ) ,
45
45
max_batch_interval : Duration :: from_millis ( 250 ) ,
46
46
restore_transaction_page_swap_after : 1 , // in this test swap should happen at least once
47
+ aws_endpoint : Some ( S3_URL . to_string ( ) ) ,
47
48
..bottomless:: replicator:: Options :: from_env ( ) . unwrap ( )
48
49
} ) ,
49
50
db_path : PATH . into ( ) ,
@@ -230,6 +231,7 @@ async fn rollback_restore() {
230
231
bucket_name : BUCKET . to_string ( ) ,
231
232
max_batch_interval : Duration :: from_millis ( 250 ) ,
232
233
restore_transaction_page_swap_after : 1 , // in this test swap should happen at least once
234
+ aws_endpoint : Some ( S3_URL . to_string ( ) ) ,
233
235
..bottomless:: replicator:: Options :: from_env ( ) . unwrap ( )
234
236
} ) ,
235
237
db_path : PATH . into ( ) ,
@@ -417,7 +419,7 @@ impl S3BucketCleaner {
417
419
impl Drop for S3BucketCleaner {
418
420
fn drop ( & mut self ) {
419
421
tokio:: task:: block_in_place ( || {
420
- let _ = tokio:: runtime:: Handle :: current ( ) . block_on ( Self :: cleanup ( self . 0 ) ) ;
422
+ let _ = tokio:: runtime:: Handle :: current ( ) . block_on ( Self :: cleanup ( self . 0 ) ) ;
421
423
} ) ;
422
424
}
423
425
}
You can’t perform that action at this time.
0 commit comments