Skip to content

[Bug] Two FE UT failures on current master #67403

Description

@bosswnx

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master: 5fbe3600024 (Sep 1); failure 1 also reproduced on d454100765c (Aug 31 master)

What's Wrong?

Two FE unit tests fail on current master itself. Both are test-vs-code contradictions introduced by upstream PRs landing in a conflicting order.

Found while running the full local FE unit test suite to validate #67310; unrelated to that PR (it only touches MasterOpExecutor / FrontendServiceImpl / thrift definitions, zero overlap with these modules).

1. IcebergWritePlanProviderTest.planMergePreservesExplicitlyEmptyReadAcrossConcurrentFirstAppend

org.opentest4j.AssertionFailedError: an explicitly empty read must leave RowDelta validation unbounded across the first append ==> expected: <null> but was: <-1>
    at org.apache.doris.connector.iceberg.IcebergWritePlanProviderTest
        .planMergePreservesExplicitlyEmptyReadAcrossConcurrentFirstAppend(IcebergWritePlanProviderTest.java:1727)

2. PropertyAnalyzerTest.testAnalyzePartitionInvertedIndexFileStorageFormat

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
    at org.apache.doris.common.PropertyAnalyzerTest
        .testAnalyzePartitionInvertedIndexFileStorageFormat(PropertyAnalyzerTest.java:412)

What You Expected?

Both tests should pass on master.

How to Reproduce?

  1. cd fe && mvn test -pl fe-connector/fe-connector-iceberg -am -Dtest=IcebergWritePlanProviderTest
  2. cd fe && mvn test -pl fe-core -am -Dtest=PropertyAnalyzerTest

Suggested fixes:

Anything Else?

  • JDK 17, Maven 3.9.16, single-fork surefire
  • Failing test files verified identical to master (zero diff)

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions