Skip to content

Commit

Permalink
Fix Kill If Still Running
Browse files Browse the repository at this point in the history
Issue #252
  • Loading branch information
damies13 committed Nov 2, 2024
1 parent 4c009b2 commit 8fe0878
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Tests/Regression/Manager/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,11 @@ Kill Agent If Still Running

Kill If Still Running
[Arguments] ${cmdname}
${processes}= Evaluate psutil.process_iter() modules=psutil
FOR ${p} IN ${processes}
IF $cmdname in $p.name()
${processes}= Evaluate list(psutil.process_iter()) modules=psutil
# Log ${processes}
FOR ${p} IN @{processes}
# Log ${p}
IF "${cmdname}" in $p.name()
Evaluate $p.kill()
END
END
Expand Down

0 comments on commit 8fe0878

Please sign in to comment.