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

Maven/Integration-test of security-sample-managed (VaadinSession issue) #282

Open
MathieuClusiau opened this issue Apr 7, 2016 · 3 comments

Comments

@MathieuClusiau
Copy link

Hi , I try to do an integration test of the security-sample-managed but I have a problem when it is executed by maven. I have no problem with JUnit in eclipse.

stackTrace.txt

loginIT.zip (pom.xml, loginIT.java)

@peholmst
Copy link
Owner

peholmst commented Apr 8, 2016

You could start by making sure that the classpath in Eclipse does not contain anything that's not in the Maven classpath or vice versa.

@ghost
Copy link

ghost commented Apr 8, 2016

java.lang.AssertionError: null - you have to disable jvm assertions when running tests with maven

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <configuration>
        <enableAssertions>false</enableAssertions>
    </configuration>
</plugin>

@MathieuClusiau
Copy link
Author

Thanks for the help. It works.

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

No branches or pull requests

2 participants