Skip to content

fix TestCleanupExternalView.test #1458

@kaisun2000

Description

@kaisun2000

LOG 2901

2020-10-10T05:38:01.4787071Z [ERROR] test(org.apache.helix.integration.TestCleanupExternalView) Time elapsed: 1.462 s <<< FAILURE!
2020-10-10T05:38:01.4894203Z java.lang.AssertionError: external-view for TestDB0 should be removed, but was: ZnRecord=TestDB0, {BUCKET_SIZE=0, IDEAL_STATE_MODE=AUTO, NUM_PARTITIONS=2, REBALANCE_MODE=SEMI_AUTO, REBALANCE_STRATEGY=DEFAULT, REPLICAS=2, STATE_MODEL_DEF_REF=MasterSlave, STATE_MODEL_FACTORY_NAME=DEFAULT}{TestDB0_0={localhost_12918=SLAVE, localhost_12919=MASTER}, TestDB0_1={localhost_12918=MASTER, localhost_12919=SLAVE}}{}, Stat=Stat {_version=6, _creationTime=1602305095151, _modifiedTime=1602305095369, _ephemeralOwner=0} expected: but was:
2020-10-10T05:38:01.4970061Z at org.apache.helix.integration.TestCleanupExternalView.test(TestCleanupExternalView.java:122)
2020-10-10T05:38:01.4972687Z
2020-10-10T05:38:01.8976500Z [ERROR] Failures:
2020-10-10T05:38:01.8991408Z [ERROR] TestCleanupExternalView.test:122 external-view for TestDB0 should be removed, but was: ZnRecord=TestDB0, {BUCKET_SIZE=0, IDEAL_STATE_MODE=AUTO, NUM_PARTITIONS=2, REBALANCE_MODE=SEMI_AUTO, REBALANCE_STRATEGY=DEFAULT, REPLICAS=2, STATE_MODEL_DEF_REF=MasterSlave, STATE_MODEL_FACTORY_NAME=DEFAULT}{TestDB0_0={localhost_12918=SLAVE, localhost_12919=MASTER}, TestDB0_1={localhost_12918=MASTER, localhost_12919=SLAVE}}{}, Stat=Stat {_version=6, _creationTime=1602305095151, _modifiedTime=1602305095369, _ephemeralOwner=0} expected: but was:
2020-10-10T05:38:01.9001717Z [ERROR] Tests run: 1211, Failures: 1, Errors: 0, Skipped: 0
2020-10-10T05:38:01.9107617Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project helix-core: There are test failures.
2020-10-10T05:38:01.9110958Z [ERROR]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions