You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "simon trudeau (JIRA)" <ji...@apache.org> on 2008/09/23 17:49:44 UTC

[jira] Created: (DIRMINA-623) Failure of test org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista

Failure of test org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista
--------------------------------------------------------------------------------

                 Key: DIRMINA-623
                 URL: https://issues.apache.org/jira/browse/DIRMINA-623
             Project: MINA
          Issue Type: Test
          Components: Core
    Affects Versions: 2.0.0-M4
         Environment: Test are ran under windows vista business edition using Hudson and the "mvn clean install" maven command. JDK is 1.6.0.7
            Reporter: simon trudeau


Failed

org.apache.mina.proxy.NTLMTest.testType1Message

null expected:<0[501280a]0000000f> but was:<0[6000000]0000000f>

Stacktrace

junit.framework.ComparisonFailure: null expected:<0[501280a]0000000f> but was:<0[6000000]0000000f>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.mina.proxy.NTLMTest.testType1Message(NTLMTest.java:114)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRMINA-623) Failure of test org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-623.
-------------------------------------


> Failure of test org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista
> --------------------------------------------------------------------------------
>
>                 Key: DIRMINA-623
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-623
>             Project: MINA
>          Issue Type: Test
>          Components: Core
>    Affects Versions: 2.0.0-M4
>         Environment: Test are ran under windows vista business edition using Hudson and the "mvn clean install" maven command. JDK is 1.6.0.7
>            Reporter: simon trudeau
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M4
>
>
> Failed
> org.apache.mina.proxy.NTLMTest.testType1Message
> null expected:<0[501280a]0000000f> but was:<0[6000000]0000000f>
> Stacktrace
> junit.framework.ComparisonFailure: null expected:<0[501280a]0000000f> but was:<0[6000000]0000000f>
> 	at junit.framework.Assert.assertEquals(Assert.java:81)
> 	at junit.framework.Assert.assertEquals(Assert.java:87)
> 	at org.apache.mina.proxy.NTLMTest.testType1Message(NTLMTest.java:114)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	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:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRMINA-623) Failure of test org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista

Posted by "Edouard De Oliveira (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edouard De Oliveira resolved DIRMINA-623.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M4
         Assignee: Edouard De Oliveira

Trivial fix : the test supposed that the class was run on XP
This is an OS dependant test so i added conditions to only do the test under winXP

> Failure of test org.apache.mina.proxy.NTLMTest.testType1Message on windows Vista
> --------------------------------------------------------------------------------
>
>                 Key: DIRMINA-623
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-623
>             Project: MINA
>          Issue Type: Test
>          Components: Core
>    Affects Versions: 2.0.0-M4
>         Environment: Test are ran under windows vista business edition using Hudson and the "mvn clean install" maven command. JDK is 1.6.0.7
>            Reporter: simon trudeau
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M4
>
>
> Failed
> org.apache.mina.proxy.NTLMTest.testType1Message
> null expected:<0[501280a]0000000f> but was:<0[6000000]0000000f>
> Stacktrace
> junit.framework.ComparisonFailure: null expected:<0[501280a]0000000f> but was:<0[6000000]0000000f>
> 	at junit.framework.Assert.assertEquals(Assert.java:81)
> 	at junit.framework.Assert.assertEquals(Assert.java:87)
> 	at org.apache.mina.proxy.NTLMTest.testType1Message(NTLMTest.java:114)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	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:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.