File tree Expand file tree Collapse file tree
util/movement/movement-core/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -303,19 +303,6 @@ impl Movement {
303303 }
304304}
305305
306- /*impl Drop for Movement {
307- fn drop(&mut self) {
308- // Get the real path of the workspace, following symlinks
309- if let Ok(real_path) = std::fs::canonicalize(self.workspace.get_workspace_path()) {
310- std::process::Command::new("docker-compose")
311- .arg("down")
312- .current_dir(real_path)
313- .output()
314- .unwrap();
315- }
316- }
317- }*/
318-
319306#[ cfg( test) ]
320307mod tests {
321308 use super :: * ;
Original file line number Diff line number Diff line change @@ -99,11 +99,13 @@ mod tests {
9999
100100 #[ tokio:: test]
101101 async fn test_rest_api ( ) -> Result < ( ) , anyhow:: Error > {
102- let ( sender, mut receiver) = tokio:: sync:: mpsc:: channel ( 1 ) ;
102+ let ( sender, mut receiver) = tokio:: sync:: mpsc:: channel ( 2 ) ;
103103 let processor = ParseRestApi :: test ( ) ;
104104
105105 sender. send ( String :: from ( "movement-full-node | 2025-05-06T08:49:06.205999Z INFO poem::server: listening addr=socket://0.0.0.0:30731" ) ) . await ?;
106106
107+ sender. send ( String :: from ( "movement-full-node | 2025-05-06T08:49:06.205999Z INFO poem::server: listening addr=socket://0.0.0.0:30731" ) ) . await ?;
108+
107109 let result = processor. process_receiver ( & mut receiver) . await ?;
108110 assert_eq ! ( result, Some ( RestApi { listen_url: "http://0.0.0.0:30731" . to_string( ) } ) ) ;
109111
You can’t perform that action at this time.
0 commit comments