4PointSolutions / 4PointSolutions/FormsFeeder
FormsFeeder build error - testDecode{TestScenario}[6]
- Ngôn ngữ chính
- Java
- Star
- 4
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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)
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- testing
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100