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() {
4444 bucket_name : BUCKET . to_string ( ) ,
4545 max_batch_interval : Duration :: from_millis ( 250 ) ,
4646 restore_transaction_page_swap_after : 1 , // in this test swap should happen at least once
47+ aws_endpoint : Some ( S3_URL . to_string ( ) ) ,
4748 ..bottomless:: replicator:: Options :: from_env ( ) . unwrap ( )
4849 } ) ,
4950 db_path : PATH . into ( ) ,
@@ -230,6 +231,7 @@ async fn rollback_restore() {
230231 bucket_name : BUCKET . to_string ( ) ,
231232 max_batch_interval : Duration :: from_millis ( 250 ) ,
232233 restore_transaction_page_swap_after : 1 , // in this test swap should happen at least once
234+ aws_endpoint : Some ( S3_URL . to_string ( ) ) ,
233235 ..bottomless:: replicator:: Options :: from_env ( ) . unwrap ( )
234236 } ) ,
235237 db_path : PATH . into ( ) ,
@@ -417,7 +419,7 @@ impl S3BucketCleaner {
417419impl Drop for S3BucketCleaner {
418420 fn drop ( & mut self ) {
419421 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 ) ) ;
421423 } ) ;
422424 }
423425}
You can’t perform that action at this time.
0 commit comments