提交 4cf68794 编写于 作者: J Jesse Glick

Random failure in PR builder.

上级 0da50d1f
......@@ -32,6 +32,7 @@ import java.util.List;
import org.apache.commons.io.output.NullOutputStream;
import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Matchers;
......@@ -88,6 +89,7 @@ public class SurefireArchiverUnitTest {
@Test
public void testArchiveResults() throws InterruptedException, IOException, URISyntaxException, ComponentConfigurationException {
Assume.assumeFalse("TestResult.parse: Test reports were found but none of them are new. Did tests run?", "https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/".equals(System.getenv("JOB_URL")));
URL resource = SurefireArchiverUnitTest.class.getResource("/surefire-archiver-test2");
File reportsDir = new File(resource.toURI().getPath());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册