ontometrics / slack-youtrack

Integration of slack and you track.
49 stars 14 forks source link

Tests fail while packaging #6

Closed neverov closed 9 years ago

neverov commented 9 years ago

I run mvn ... package on a fresh AWS micro instance with ubuntu 14.04 and get this:

...
Results :

Failed tests:   testThatMinimumAllowedDateCorrectlyResolved(com.ontometrics.integrations.configuration.EventProcessorConfigurationTest): Dates are not equals

Tests run: 52, Failures: 1, Errors: 0, Skipped: 4

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.997s
[INFO] Finished at: Wed May 27 07:00:53 UTC 2015
[INFO] Final Memory: 9M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project slack-youtrack: There are test failures.
 ...
dakariakin commented 9 years ago

What version of the java you used? Try Java 6, it works for me

neverov commented 9 years ago

I used java 8. I tried 6 as you suggested and everything worked fine, thank you!

codeslubber commented 9 years ago

Seems strange! I thought we used 8. Will definitely fix this. Thanks guys!