[jboss-jira] [JBoss JIRA] Commented: (JBAS-6598) org.jboss.test.profileservice.testsecure.ProfileServiceUnitTestCase
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Tue Mar 17 13:21:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457735#action_12457735 ]
Scott M Stark commented on JBAS-6598:
-------------------------------------
I'm not seeing this. The all config is starting find and one-test passes all of the tests:
[509][valkyrie: testsuite]$ ant -Dtest=org.jboss.test.profileservice.testsecure.ProfileServiceUnitTestCase one-test
Buildfile: build.xml
one-test:
[delete] Deleting: /Users/svn/JBossAS/branches/Branch_5_x/testsuite/output/log/test.log
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/Users/svn/JBossAS/branches/Branch_5_x/tools/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] Running org.jboss.test.profileservice.testsecure.ProfileServiceUnitTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.991 sec
BUILD SUCCESSFUL
Total time: 5 seconds
[510][valkyrie: testsuite]$
I'm not able to get into hudson to see if the current runs are still showing this problem.
> org.jboss.test.profileservice.testsecure.ProfileServiceUnitTestCase
> -------------------------------------------------------------------
>
> Key: JBAS-6598
> URL: https://jira.jboss.org/jira/browse/JBAS-6598
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Shelly McGowan
> Assignee: Scott M Stark
> Priority: Critical
> Fix For: JBossAS-5.1.0.CR1
>
>
> One more test failure to bring to your attention.
> When the tests are run with one-test, I get one failure:
> testProfileKeys
> junit.framework.AssertionFailedError: keys contains default
> at org.jboss.test.profileservice.testsecure.ProfileServiceUnitTestCase.testProfileKeys(ProfileServiceUnitTestCase.java:113)
> When the tests are run as part of the jboss-all-config-tests target
> testProfileKeys and testDefaultDSComponentCount fail with javax.ejb.EJBException:
> Caused by: java.lang.RuntimeException: Unable to inject jndi dependency: env/org.jboss.profileservice.ejb.SecureManagementView/profileService into property org.jboss.profileservice.ejb.SecureManagementView.profileService: ProfileService not bound
> at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:82)
> at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
> at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:89)
> at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:61)
> at org.jboss.ejb3.injection.InjectionInvocation.invokeTarget(InjectionInvocation.java:89)
> at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:83)
> at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
> at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:74)
> at org.jboss.ejb3.EJBContainer.injectBeanContext(EJBContainer.java:1086)
> at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:83)
> at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
> at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:51)
> at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:53)
> at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:93)
> at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:58)
> Latest Hudson run can be seen (internally) here:
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.1.x-testSuite-sun15/lastBuild/testReport/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list