From 7f0e5d416fbb0828e61f0be6cfd32d1542f2a623 Mon Sep 17 00:00:00 2001 From: DEMAREY Christophe Date: Fri, 21 Jun 2024 11:29:56 +0200 Subject: [PATCH] ensure launched images are killed in tear down --- .../PhLLaunchImageTest.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st b/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st index 491c14b8..dbb01011 100644 --- a/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st +++ b/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st @@ -99,7 +99,7 @@ PhLLaunchImageTest >> testCanLaunchImageWithNonAsciiCharacters [ | image | image := self copyCurrentImageToTestDir. - image launch. + process := image launch. 2 seconds wait. "let time to the process to be launched, else test cleanup will interfer with process launch" "ensure image determination succeeded" @@ -143,7 +143,7 @@ PhLLaunchImageTest >> testLaunchImageSetShouldRunInitilizationScriptToFalse [ image := self copyCurrentImageToTestDir. - image launch. + process := image launch. 2 seconds wait. "let time to the process to be launched, else test cleanup will interfer with process launch" image := PhLImage location: imageDir / FileLocator image basename. "read image metadata from disk"