4PointSolutions / 4PointSolutions/FormsFeeder
FormsFeeder build error - testDecode{TestScenario}[6]
- Langage dominant
- Java
- Étoiles
- 4
- Forks
- 3
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
maven package or install command is getting failed while building the FormsFeeder parent project due to failure in the unit test on Mac machines.
Workaround is by skipping the unit test. e,g _mvn -DskipTests=true package or mvn -DskipTests=true install_
ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.099 s <<< FAILURE! - in com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListDecoderTest
[ERROR] testDecode{TestScenario}[6] Time elapsed: 0.012 s <<< FAILURE!
org.opentest4j.AssertionFailedError: DataSource 'filename' fields do not match. ==> expected: but was:
at com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListDecoderTest.dsEquals(XmlDataSourceListDecoderTest.java:159)
at com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListDecoderTest.dslEquals(XmlDataSourceListDecoderTest.java:152)
at com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListDecoderTest.testDecode(XmlDataSourceListDecoderTest.java:43)
[INFO] Running com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListEncoderTest
[ERROR] Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.024 s <<< FAILURE! - in com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListEncoderTest
[ERROR] test_OutputStream Time elapsed: 0.008 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <RHNWYWx1ZTE=Mg==RFNWYWx1ZTM=RFNWYWx1ZTRfMQ==RFNWYWx1ZTRfMg==RFM1Q29udGVudDE=RFM1Q29udGVudDI=> but was: <RHNWYWx1ZTE=Mg==RFNWYWx1ZTM=RFNWYWx1ZTRfMQ==RFNWYWx1ZTRfMg==RFM1Q29udGVudDE=RFM1Q29udGVudDI=>
at com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListEncoderTest.test_OutputStream(XmlDataSourceListEncoderTest.java:69)
[ERROR] testEncode{TestScenario}[6] Time elapsed: 0.001 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <RFNWYWx1ZTM=> but was: <RFNWYWx1ZTM=>
at com._4point.aem.formsfeeder.core.datasource.serialization.XmlDataSourceListEncoderTest.testEncode(XmlDataSourceListEncoderTest.java:42)
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The failing tests are in XmlDataSourceListDecoderTest and XmlDataSourceListEncoderTest. The error shows a path separator mismatch (backslash vs forward slash) on Mac. Look at the test data or the serialization code that generates the Filename attribute. Run the specific failing tests to confirm the issue, then adjust the path handling to be OS-agnostic or normalize the separator.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- testing
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 65/100