Skip to content

Commit e9d1d9d

Browse files
committed
TESTING: Moar noise
1 parent 727c5b9 commit e9d1d9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration/test/Testlib/ModService.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ ensureFederatorPortIsFree resource = do
305305
liftIO $ threadDelay 100_000
306306
check federatorExternalPort
307307
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
309309

310310
parseSS :: Text -> Either String (Maybe (String, ProcessID))
311311
parseSS input =
@@ -411,11 +411,11 @@ cleanupService logPrefix inst = do
411411
for_ mPid (signalProcess keyboardSignal)
412412
timeout 50000 (waitForProcess inst.handle) >>= \case
413413
Just _ ->
414-
putStrLn $ logPrefix <> " is dead"
414+
putStrLn $ logPrefix <> "is dead, pid = " <> show mPid
415415
Nothing -> do
416416
for_ mPid (signalProcess killProcess)
417417
void $ waitForProcess inst.handle
418-
putStrLn $ logPrefix <> " killed with -9"
418+
putStrLn $ logPrefix <> "killed with -9, pid = " <> show mPid
419419
whenM (doesFileExist inst.config) $ removeFile inst.config
420420
whenM (doesDirectoryExist inst.config) $ removeDirectoryRecursive inst.config
421421

0 commit comments

Comments
 (0)