Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor assembly module tests #1546

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alwin-joseph
Copy link
Contributor

Fixes Issue
#1477

Describe the change

  • Refactor the assembly module tests and created glassfish runner
  • 12 tests are refactored ,10 tests are failing now.

Additional context
Error logs summary :

Client.testAppClient » Test case throws exception: Alternative DD test failed!javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or in an application resource file: java.naming.factory.initial
[ERROR] Client.testEJB » Test case throws exception: Alternative DD test failed!javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or in an application resource file: java.naming.factory.initial
[ERROR] Client » Deployment Could not deploy assembly_classpath_ejb.ear
[ERROR] Client » Deployment Could not deploy assembly_compat_cocktail_compat9_10.ear
[ERROR] Client » Deployment Could not deploy assembly_compat_single_compat9_10.ear
[ERROR] Client.testStandaloneJar:213 Fault classpath test failed: java.lang.NullPointerException: Cannot invoke "com.sun.ts.lib.util.TSNamingContext.lookup(String, java.lang.Class)" because "this.nctx" is null
[ERROR] Client.testStandaloneWar:227 Fault Stand-alone test failed:
[ERROR] Client.testStandaloneJar:219 Fault classpath test failed: java.lang.NullPointerException: Cannot invoke "com.sun.ts.lib.util.TSNamingContext.lookup(String, java.lang.Class)" because "this.nctx" is null
[ERROR] Client.testStandaloneWar:219 Fault Stand-alone test failed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant