Skip to content

There are test failures on project apollo-client #3369

@Anilople

Description

@Anilople
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Describe the bug

run mvn clean test on windows 10 platform, the test case com.ctrip.framework.apollo.internals.RemoteConfigRepositoryTest#testLongPollingRefresh failed.

To Reproduce
Steps to reproduce the behavior:

  1. Use windows 10.
  2. cd apollo-client
  3. run mvn clean test

Expected behavior

The test should be passed.

Additional Details & Logs

Version

Apollo 1.8.0-SNAPSHOT

Java version: 1.8.0_265, vendor: Amazon.com Inc.

maven 3.6.3

Error logs

Results :

Tests in error:
  RemoteConfigRepositoryTest.testLongPollingRefresh:298 ? Timeout Waited 5000 mi...

Tests run: 284, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apollo 1.8.0-SNAPSHOT:
[INFO]
[INFO] Apollo ............................................. SUCCESS [  0.792 s]
[INFO] Apollo BuildTools .................................. SUCCESS [  1.364 s]
[INFO] Apollo Core ........................................ SUCCESS [ 12.025 s]
[INFO] Apollo Client ...................................... FAILURE [ 49.957 s]
[INFO] Apollo Common ...................................... SKIPPED
[INFO] Apollo Biz ......................................... SKIPPED
[INFO] Apollo ConfigService ............................... SKIPPED
[INFO] Apollo AdminService ................................ SKIPPED
[INFO] Apollo Open Api .................................... SKIPPED
[INFO] Apollo Portal ...................................... SKIPPED
[INFO] Apollo Assembly .................................... SKIPPED
[INFO] Apollo Demo ........................................ SKIPPED
[INFO] Apollo Mock Server ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:04 min
[INFO] Finished at: 2020-11-07T12:50:47+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project apollo-client: There are test failures.

Configuration

Windowns Home. version 1909. OS version 18363.1139


ps: The test will pass on Linux platform. Or run single test case com.ctrip.framework.apollo.internals.RemoteConfigRepositoryTest#testLongPollingRefresh in IDE(idea)

Maybe exist some concurrent problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientapollo-clientarea/testCategorizes issue or PR as related to testingkind/report-problemCategorizes issue when someone report the problem he/she meetedstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions