diff --git a/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st b/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st index c7df9637..4d182e9b 100644 --- a/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st +++ b/src/PharoLauncher-Tests-Functional/PhLLaunchImageTest.class.st @@ -71,10 +71,10 @@ PhLLaunchImageTest >> setUp [ { #category : #running } PhLLaunchImageTest >> tearDown [ PhLLaunchConfiguration launchInALoginShell: launchInALoginShellBackup. - tempVmStoreFolder ensureDeleteAll. PhLVirtualMachineManager vmStore: vmStoreBackup. - imageDir ensureDeleteAll. process ifNotNil: [ process isRunning ifTrue: [ process terminate ] ]. + tempVmStoreFolder ensureDeleteAll. + imageDir ensureDeleteAll. super tearDown ] @@ -97,6 +97,7 @@ PhLLaunchImageTest >> testCanLaunchImageWithNonAsciiCharacters [ image := self copyCurrentImageToTestDir. 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" self @@ -139,6 +140,7 @@ PhLLaunchImageTest >> testLaunchImageSetShouldRunInitilizationScriptToFalse [ image := self copyCurrentImageToTestDir. 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" self deny: image shouldRunInitializationScript.