4PointSolutions / 4PointSolutions/FormsFeeder
FormsFeeder build error - testDecode{TestScenario}[6]
- 主要言語
- Java
- スター
- 4
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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)
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 65/100