4PointSolutions / 4PointSolutions/FormsFeeder
FormsFeeder build error - testDecode{TestScenario}[6]
- Lenguaje dominante
- Java
- Estrellas
- 4
- Forks
- 3
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- testing
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 65/100