Skip to content

Commit

Permalink
Ignore pipe test on Windows until the library is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dwnusbaum committed Apr 12, 2018
1 parent 1604710 commit b325d60
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
package com.cloudbees.jenkins.plugins.file_leak_detector;

import com.gargoylesoftware.htmlunit.Page;
import hudson.Functions;
import hudson.model.ManagementLink;
import java.io.File;
import java.io.FileInputStream;
Expand All @@ -33,6 +34,7 @@
import java.nio.channels.Selector;
import java.util.Arrays;
import java.util.List;
import org.junit.Assume;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
Expand Down Expand Up @@ -72,6 +74,8 @@ public void detectFileLeak() throws Exception {

@Test
public void detectPipeLeak() throws Exception {
// TODO: https://github.com/kohsuke/file-leak-detector/issues/36
Assume.assumeFalse("Pipes are not detected correctly on Windows", Functions.isWindows());
activateFileLeakDetector();
Pipe p = Pipe.open();
try {
Expand Down

0 comments on commit b325d60

Please sign in to comment.