Coder Social home page Coder Social logo

Comments (3)

khac avatar khac commented on August 19, 2024 1
image image

When I run this test on debugger mode, it runs fine, when I run all tests this one fails metadata.MetadataStoreTest fail.

[ERROR] Failures: 
[ERROR]   MetadataStoreTest.testThreadSwitchOfZkMetadataStore:484 ยป Completion java.lang.AssertionError: 
Expect to switch to thread 196d8b0fd39848358a5ec527a7a34e48, but currently it is thread 
TestNG-method=testThreadSwitchOfZkMetadataStore-1 expected [true] but found [false]
[INFO] 
[ERROR] Tests run: 910, Failures: 1, Errors: 0, Skipped: 742

from pulsar.

lhotari avatar lhotari commented on August 19, 2024 1

When I run this test on debugger mode, it runs fine, when I run all tests this one fails metadata.MetadataStoreTest fail.

We have a lot of flaky tests.
For development, it's hopeless to run all tests locally. A better approach is to setup a "personal CI" where you run CI jobs in your GitHub fork of apache/pulsar. We have some docs for setting that up: https://pulsar.apache.org/contribute/personal-ci/ .
The guide doesn't mention that you have to enable GitHub Actions in your fork. It's no longer enabled by default.

from pulsar.

lhotari avatar lhotari commented on August 19, 2024

We do have a lot of flaky tests. However in this case, the error message "java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration" doesn't seem to be about flakiness.

Please verify that you have a recent version of Docker installed. I believe that on Mac M1 that you'll need Docker Desktop. It's free for personal use. TestContainers Desktop is another alternative.

from pulsar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.