mirror of https://github.com/jenkinsci/jenkins.git
Merge pull request #3419 from dwnusbaum/JENKINS-9104-test-fix
Fix test failure by cleaning up static state after tests
This commit is contained in:
commit
3465da4764
|
|
@ -382,7 +382,7 @@ public abstract class ProcessTree implements Iterable<OSProcess>, IProcessTree,
|
|||
}
|
||||
|
||||
|
||||
private static Boolean vetoersExist;
|
||||
/* package */ static Boolean vetoersExist;
|
||||
|
||||
/**
|
||||
* Gets the {@link ProcessTree} of the current system
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ public class ProcessTreeKillerTest {
|
|||
|
||||
@After
|
||||
public void tearDown() throws Exception {
|
||||
ProcessTree.vetoersExist = null;
|
||||
if (null != process)
|
||||
process.destroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue