Skip to content
Browse files
[JENKINS-38696] - Allow interactive mode for File Leak Detector in Rm…
  • Loading branch information
oleg-nenashev committed Jul 7, 2017
1 parent 40fa6a1 commit f08455cc7946cc784149ea9e2ebda256ace600f1
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/test/java/hudson/remoting/
@@ -53,6 +53,14 @@ protected void setUp() throws Exception {

protected void tearDown() throws Exception {

// If we run with File Leak Detector, it allows stopping the test and checking the detector's web UI
// TODO: Make it a part of the Generic remoting Test framework?
if (Boolean.getBoolean("remoting.test.interactive")) {
System.out.println("Interactive flag is set. Waiting til somebody interrupts the test. "
+ "If File Leak Detector Profile is enabled, you can find its UI in http://localhost:20000");

/*package*/ void setChannelRunner(Class<? extends ChannelRunner> runner) {

0 comments on commit f08455c

Please sign in to comment.