@@ -35,7 +35,7 @@ fn test_config_serialization() {
35
35
async fn test_storage_create_runtime ( tmpdir : tempfile:: TempDir ) {
36
36
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
37
37
let repo = crate :: storage:: RepositoryHandle :: from (
38
- crate :: storage:: fs:: FsRepository :: create ( root)
38
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
39
39
. await
40
40
. unwrap ( ) ,
41
41
) ;
@@ -73,7 +73,7 @@ async fn test_storage_runtime_with_annotation(
73
73
74
74
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
75
75
let repo = crate :: storage:: RepositoryHandle :: from (
76
- crate :: storage:: fs:: FsRepository :: create ( root)
76
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
77
77
. await
78
78
. unwrap ( ) ,
79
79
) ;
@@ -139,7 +139,7 @@ async fn test_storage_runtime_add_annotations_list(
139
139
140
140
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
141
141
let repo = crate :: storage:: RepositoryHandle :: from (
142
- crate :: storage:: fs:: FsRepository :: create ( root)
142
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
143
143
. await
144
144
. unwrap ( ) ,
145
145
) ;
@@ -212,7 +212,7 @@ async fn test_storage_runtime_with_nested_annotation(
212
212
// Setup the objects needed for the runtime used in the test
213
213
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
214
214
let repo = crate :: storage:: RepositoryHandle :: from (
215
- crate :: storage:: fs:: FsRepository :: create ( root)
215
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
216
216
. await
217
217
. unwrap ( ) ,
218
218
) ;
@@ -281,7 +281,7 @@ async fn test_storage_runtime_with_annotation_all(
281
281
282
282
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
283
283
let repo = crate :: storage:: RepositoryHandle :: from (
284
- crate :: storage:: fs:: FsRepository :: create ( root)
284
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
285
285
. await
286
286
. unwrap ( ) ,
287
287
) ;
@@ -355,7 +355,7 @@ async fn test_storage_runtime_with_nested_annotation_all(
355
355
// setup the objects needed for the runtime used in the test
356
356
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
357
357
let repo = crate :: storage:: RepositoryHandle :: from (
358
- crate :: storage:: fs:: FsRepository :: create ( root)
358
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
359
359
. await
360
360
. unwrap ( ) ,
361
361
) ;
@@ -431,7 +431,7 @@ async fn test_storage_runtime_with_nested_annotation_all(
431
431
async fn test_storage_remove_runtime ( tmpdir : tempfile:: TempDir ) {
432
432
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
433
433
let repo = crate :: storage:: RepositoryHandle :: from (
434
- crate :: storage:: fs:: FsRepository :: create ( root)
434
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
435
435
. await
436
436
. unwrap ( ) ,
437
437
) ;
@@ -452,7 +452,7 @@ async fn test_storage_remove_runtime(tmpdir: tempfile::TempDir) {
452
452
async fn test_storage_iter_runtimes ( tmpdir : tempfile:: TempDir ) {
453
453
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
454
454
let repo = crate :: storage:: RepositoryHandle :: from (
455
- crate :: storage:: fs:: FsRepository :: create ( root)
455
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
456
456
. await
457
457
. unwrap ( ) ,
458
458
) ;
@@ -504,7 +504,7 @@ async fn test_storage_iter_runtimes(tmpdir: tempfile::TempDir) {
504
504
async fn test_runtime_reset ( tmpdir : tempfile:: TempDir ) {
505
505
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
506
506
let repo = crate :: storage:: RepositoryHandle :: from (
507
- crate :: storage:: fs:: FsRepository :: create ( root)
507
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
508
508
. await
509
509
. unwrap ( ) ,
510
510
) ;
@@ -551,7 +551,7 @@ async fn test_runtime_reset(tmpdir: tempfile::TempDir) {
551
551
async fn test_runtime_ensure_extra_bind_mount_locations_exist ( tmpdir : tempfile:: TempDir ) {
552
552
let root = tmpdir. path ( ) . to_string_lossy ( ) . to_string ( ) ;
553
553
let repo = crate :: storage:: RepositoryHandle :: from (
554
- crate :: storage:: fs:: FsRepository :: create ( root)
554
+ crate :: storage:: fs:: MaybeOpenFsRepository :: create ( root)
555
555
. await
556
556
. unwrap ( ) ,
557
557
) ;
0 commit comments