The previous problems I saw with the one-test run of the EJBSpecUnitTestCase
were due to this target not setting up the security environment correctly.
When I run the tests-security-basic-unit suite all test pass on a Win2K SP2
system using the Sun 1.3.1_01 JDK.
testsuite 715>build.sh tests-security-basic-unit
Searching for build.xml ...
Buildfile: D:\usr\local\src\cvsroot\Main\jboss-all\testsuite\build.xml
...
tests-security-basic-unit:
[junit] Running org.jboss.test.security.test.EJBSpecUnitTestCase
[junit] +++ testMethodAccess2
[junit] Found StatelessSessionHome
[junit] Created spec.StatelessSession_test
[junit] Bean.echo('Hello') -> Hello
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 20.344 sec
[junit] Running org.jboss.test.security.test.LoginContextUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.282 sec
[junit] Running
org.jboss.test.security.test.NamespacePermissionsUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
[junit] Running org.jboss.test.security.test.PermissionNameUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.375 sec
What's the full OS/JDK version for the case where you are seeing 8 errors?
I am seeing three security related failures in the
WebIntegrationUnitTestCase with
Jetty that I'll look into.
testsuite 720>build.sh -Dtest=web test
Searching for build.xml ...
Buildfile: D:\usr\local\src\cvsroot\Main\jboss-all\testsuite\build.xml
...
test:
[junit] Running org.jboss.test.web.test.WebIntegrationUnitTestCase
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] HttpClient.reponse = HTTP/1.1 403 Forbidden
[junit] HttpClient.reponse = HTTP/1.1 401 Unauthorized
[junit] HttpClient.reponse = HTTP/1.1 401 Unauthorized
[junit] HttpClient.reponse = HTTP/1.1 403 Forbidden
[junit] HttpClient.reponse = HTTP/1.1 403 Forbidden
[junit] HttpClient.reponse = HTTP/1.1 200 OK
[junit] Tests run: 13, Failures: 3, Errors: 0, Time elapsed: 15.36 sec
[junit] TEST org.jboss.test.web.test.WebIntegrationUnitTestCase FAILED
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Luke Taylor" <[EMAIL PROTECTED]>
To: "JBoss Dev" <[EMAIL PROTECTED]>
Sent: Saturday, November 03, 2001 7:09 AM
Subject: [JBoss-dev] Testsuite on Windows NT - Problems
> Hi all,
>
> Can anyone tell me if they are managing to run the test suite
> successfully on Windows, with similar results to the automated tests?
> I'm consistently getting worse results which I can't quite track the
> cause of and which is giving me grief. The figures I'm getting from the
> basic test suite target are:
>
> Number of tests run: 131
>
> --------------------------------------------
>
> Successful tests: 113
>
> Errors: 12
>
> Failures: 6
>
> I need to investigate further to get a clearer idea of what's
> happening, but thought I'd do a quick sanity check with the list first
> in case anyone already knows where things are going awry.
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development