cagataygurturk / lambadaframework

Build serverless REST API's with JAVA. It implements the JAX-RS API and deploys your application easily to AWS Lambda and API Gateway
MIT License
244 stars 48 forks source link

master branch fails mvn test #49

Open refacktor opened 6 years ago

refacktor commented 6 years ago
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.lambadaframework.jaxrs.JAXRSParserTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.227 sec <<< FAILURE! - in org.lambadaframework.jaxrs.JAXRSParserTest
testScanPackage(org.lambadaframework.jaxrs.JAXRSParserTest)  Time elapsed: 0.224 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:</resource1/{id}[]> but was:</resource1/{id}[/users]>
        at org.lambadaframework.jaxrs.JAXRSParserTest.testScanPackage(JAXRSParserTest.java:47)

Results :

Failed tests:
  JAXRSParserTest.testScanPackage:47 expected:</resource1/{id}[]> but was:</resource1/{id}[/users]>

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
cagataygurturk commented 6 years ago

It is passing on CI: https://travis-ci.org/lambadaframework/lambadaframework/builds/236683014 You can safely use 0.0.6 in your project.

refacktor commented 5 years ago

The test was specifically failing on Windows... cumulative fix in a053aedd7cff9511ea5f119af537de68187444f3 includes the fix for non-deterministic behavior from 19cae7532909169a7dc3400c00b2a380cf0d8d19