File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
src/test/mina_automation/fixture Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ module Make_FixtureWithBootstrap (M : TestCaseWithBootstrap) :
6060 let open Deferred.Or_error.Let_syntax in
6161 [% log info] " Tearing down archive" ;
6262 let % bind _ = Archive.Process. force_kill t.archive in
63- let % bind.Deferred () = File_system. remove_dir @@ t.network_data.folder in
63+ let % bind.Deferred () =
64+ Mina_stdlib_unix.File_system. remove_dir @@ t.network_data.folder
65+ in
6466 [% log info] " Archive teardown completed" ;
6567 Deferred.Or_error. ok_unit
6668
Original file line number Diff line number Diff line change 77 core
88 ;; local libraries
99 mina_automation
10- file_system )
10+ mina_stdlib_unix )
1111 (instrumentation
1212 (backend bisect_ppx))
1313 (preprocess
Original file line number Diff line number Diff line change 1111module type Fixture = sig
1212 type t
1313
14- (* *
15- This module defines a type [t] representing a fixture for integration tests and provides functions to set up, run, and tear down the fixture.
16-
14+ (* *
15+ This module defines a type [t] representing a fixture for integration tests
16+ and provides functions to set up, run, and tear down the fixture.
17+
1718 {1 Functions}
18-
19+
1920 - [setup ()]: Sets up the fixture and returns an instance of [t].
2021 - [test_case t]: Runs the test case associated with the fixture and returns a result.
2122 - [teardown t]: Tears down the fixture and cleans up resources.
You can’t perform that action at this time.
0 commit comments