File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ ensureFederatorPortIsFree resource = do
305
305
liftIO $ threadDelay 100_000
306
306
check federatorExternalPort
307
307
Right Nothing -> pure ()
308
- Left e -> assertFailure $ " Failed while parsing ss output with error: " <> e <> " \n " <> " ss output:\n " <> ssOutput
308
+ Left e -> assertFailure $ prefix <> " Failed while parsing ss output with error: " <> e <> " \n " <> " ss output:\n " <> ssOutput
309
309
310
310
parseSS :: Text -> Either String (Maybe (String , ProcessID ))
311
311
parseSS input =
@@ -411,11 +411,11 @@ cleanupService logPrefix inst = do
411
411
for_ mPid (signalProcess keyboardSignal)
412
412
timeout 50000 (waitForProcess inst. handle) >>= \ case
413
413
Just _ ->
414
- putStrLn $ logPrefix <> " is dead"
414
+ putStrLn $ logPrefix <> " is dead, pid = " <> show mPid
415
415
Nothing -> do
416
416
for_ mPid (signalProcess killProcess)
417
417
void $ waitForProcess inst. handle
418
- putStrLn $ logPrefix <> " killed with -9"
418
+ putStrLn $ logPrefix <> " killed with -9, pid = " <> show mPid
419
419
whenM (doesFileExist inst. config) $ removeFile inst. config
420
420
whenM (doesDirectoryExist inst. config) $ removeDirectoryRecursive inst. config
421
421
You can’t perform that action at this time.
0 commit comments