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

Test cases fail when doing mvn package #253

Open
anwar6953 opened this issue Apr 14, 2016 · 0 comments
Open

Test cases fail when doing mvn package #253

anwar6953 opened this issue Apr 14, 2016 · 0 comments
Labels

Comments

@anwar6953
Copy link
Contributor

This works:
mvn clean test -Dtest=RemoteTableTest -DinstanceUri=<HostAndPort>
but this fails:
mvn clean package -Dtest=RemoteTableTest -DinstanceUri=<HostAndPort>

The exception when doing it with mvn package is:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.112 sec <<< FAILURE! - in co.cask.cdap.remote.dataset.test.RemoteTableTest
test(co.cask.cdap.remote.dataset.test.RemoteTableTest)  Time elapsed: 9.716 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException: No application classes found in artifact 'artifact:default.TableDatasetApp.1.0.0-SNAPSHOT'.
    at co.cask.cdap.client.util.RESTClient.upload(RESTClient.java:153)
    at co.cask.cdap.client.ApplicationClient.deployApp(ApplicationClient.java:366)
    at co.cask.cdap.client.ApplicationClient.deploy(ApplicationClient.java:295)
    at co.cask.cdap.test.IntegrationTestManager.deployApplication(IntegrationTestManager.java:154)
    at co.cask.cdap.test.AudiTestBase.deployApplication(AudiTestBase.java:218)
    at co.cask.cdap.test.AudiTestBase.deployServiceForDataset(AudiTestBase.java:260)
    at co.cask.cdap.test.AudiTestBase.getTableDataset(AudiTestBase.java:236)
    at co.cask.cdap.remote.dataset.test.RemoteTableTest.test(RemoteTableTest.java:33)
@anwar6953 anwar6953 added the bug label Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant