maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WAGON-408) ITs for #testSecuredGet() fail with Windows
Date Wed, 28 Dec 2016 19:51:58 GMT

     [ https://issues.apache.org/jira/browse/WAGON-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov updated WAGON-408:
---------------------------------
    Fix Version/s: 2.12

> ITs for #testSecuredGet() fail with Windows
> -------------------------------------------
>
>                 Key: WAGON-408
>                 URL: https://issues.apache.org/jira/browse/WAGON-408
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http, wagon-http-lightweight
>    Affects Versions: 2.5, 2.6
>         Environment: Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
17:22:22+0200)
> Maven home: D:\apache-maven-3.1.1\bin\..
> Java version: 1.7.0_45, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_45\jre
> Default locale: nl_NL, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Robert Scholte
>             Fix For: 2.12
>
>
> {code:xml|title=org.apache.maven.wagon.providers.http.LightweightHttpWagonWithPreemptiveAuthenticationTest.xml}
> <testcase name="testSecuredGet" classname="org.apache.maven.wagon.providers.http.LightweightHttpWagonWithPreemptiveAuthenticationTest"
time="0.148">
>     <failure message="not 1 security handler use [] expected:&lt;1&gt; but
was:&lt;0&gt;" type="junit.framework.AssertionFailedError"><![CDATA[junit.framework.AssertionFailedError:
not 1 security handler use [] expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:283)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:195)
> 	at org.apache.maven.wagon.http.HttpWagonTestCase.testPreemptiveAuthentication(HttpWagonTestCase.java:1545)
> 	at org.apache.maven.wagon.http.HttpWagonTestCase.testPreemptiveAuthenticationGet(HttpWagonTestCase.java:1532)
> 	at org.apache.maven.wagon.http.HttpWagonTestCase.runTestSecuredGet(HttpWagonTestCase.java:1066)
> 	at org.apache.maven.wagon.http.HttpWagonTestCase.testSecuredGet(HttpWagonTestCase.java:1027)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> ]]></failure>
>     <system-out>http://localhost:58257 - Session: Opened  
> attempting to create parent directories for destination: wagon-test1432980426073514145txt
> Downloading: test-secured-resource from http://localhost:58257
> #
> Transfer finished. 10 bytes copied in 0.0 seconds
> http://localhost:58257 - Session: Disconnecting  
> http://localhost:58257 - Session: Disconnected
> </system-out>
>     <system-err>2014-01-02 15:13:33.461:INFO::jetty-6.1.26
> 2014-01-02 15:13:33.461:INFO::Started SocketConnector@0.0.0.0:58257
> 2014-01-02 15:13:33.484:INFO::Stopped SocketConnector@0.0.0.0:58257
> </system-err>
>   </testcase>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message