[Core] Broken tests
Navigate to crs-conversion-service root folder and run:
mvn clean install
[ERROR] Failures:
[ERROR] CRSConverterTests.TestAppropriateCRSCombinations:847 Unexpected failure Invalid source and/or target CRS specification.
[ERROR] CRSConverterTests.TestEBToEBTransformationFail:512 expected:<In[valid source and/or target CRS specification].> but was:<In[coherent coordinate transformations; no hub CRS could be identified].>
[ERROR] CRSConverterTests.TestInappropriateCRSs:785
[ERROR] ReferenceConverterTest.TestParseCompoundTrfReferenceV1:152->validateCompoundTrf:160
[ERROR] ReferenceConverterTest.TestParseCompoundTrfReferenceV2:171->validateCompoundTrf:160
[ERROR] ReferenceConverterTest.TestParseEarlyBoundCrsReferenceV1:178->validateEarlyBoundCrs:186
[ERROR] ReferenceConverterTest.TestParseEarlyBoundCrsReferenceV2:197->validateEarlyBoundCrs:186
[ERROR] ReferenceConverterTest.TestParseSingleTrfReferenceV1:126->validateSingleTrf:134
[ERROR] ReferenceConverterTest.TestParseSingleTrfReferenceV2:145->validateSingleTrf:134
[ERROR] Errors:
[ERROR] CRSConverterTests.TestEBToEBCompoundTRFSkip:643 » IllegalArgument Invalid sour...
[ERROR] CRSConverterTests.TestEBToEBTransformationNoSkip:399 » IllegalArgument Invalid...
[ERROR] CRSConverterTests.TestEBToEBTransformationSkip:444 » IllegalArgument Invalid s...
[ERROR] CRSConverterTests.TestEBToEB_NoZShift_151393:920 » IllegalArgument Invalid sou...
[ERROR] CRSConverterTests.TestIdenticalAndSynonym_312051:949 » IllegalArgument Invalid...
[ERROR] CRSConverterTests.TestLBToEBCompoundTRF:547 » IllegalArgument Invalid source a...
[ERROR] CRSConverterTests.convertPointEarlyToEarlyBound:307 » IllegalArgument Invalid ...
[ERROR] CRSConverterTests.convertPointEarlyToLateBound:246 » IllegalArgument Invalid s...
[ERROR] CRSConverterTests.convertPointLateToEarlyBound:170 » IllegalArgument Invalid s...
[ERROR] CRSConverterTests.testConvertGeoJson:974 » IllegalArgument Invalid source and/...
[INFO]
[ERROR] Tests run: 81, Failures: 9, Errors: 10, Skipped: 8
Nevertheless, Tests are still broken. export SIS_DATA=/d/osdu_comm/crs-conversion-service/apachesis_setup/SIS_DATA
mvn clean install
[ERROR] Failures:
[ERROR] CRSConverterTests.TestEBToEBTransformationFail:511
[ERROR] CRSConverterTests.TestIdenticalAndSynonym_312051:965 expected:<4> but was:<1>
[ERROR] CRSConverterTests.convertPointEarlyToEarlyBound:314 expected:<0> but was:<5>
[ERROR] CRSConverterTests.convertPointEarlyToLateBound:271 expected:<150.0> but was:<149.99865931779445>
[ERROR] CRSConverterTests.convertPointLateToEarlyBound:177 expected:<3> but was:<5>
[INFO]
[ERROR] Tests run: 81, Failures: 5, Errors: 0, Skipped: 8
@ethiraj , could you help to solve this problem? We can't run unit tests.
Edited by Riabokon Stanislav(EPAM)[GCP]