-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins >= 1.482
Original design:
- HudsonTestCase.ComputerListenerImpl and JenkinsRule.ComputerListenerImpl register channels of launched slaves in order to close at the tearDown phase.
- They are registered to Jenkins with @TestExtension
Current status:
- They does not work.
- @TestExtension can be used for classes enclosed by test case classes.
- JenkinsRule.ComputerListenerImpl does not work at all.
- HudsonTestCase.ComputerListenerImpl worked in Jenkins < 1.482 for HudsonTestCase is a super class of enclosing classes. But in Jenkins 1.482, @TestExtension works only when the encolosing class is exactly the test case class.
- This change is 5dd905f2a2 and 4557a436bf.
Problems caused by this:
- Log files of slaves are left open, and fail to delete temporary directories in Windows:
JENKINS-18259
- is related to
-
JENKINS-18259 Unable to delete slave.log in plugin tests
- Closed