Comments (3)
![image](https://private-user-images.githubusercontent.com/25533953/331267064-ad078259-9c59-4914-a579-66dc0870adfb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMTQ1ODIsIm5iZiI6MTcyNDAxNDI4MiwicGF0aCI6Ii8yNTUzMzk1My8zMzEyNjcwNjQtYWQwNzgyNTktOWM1OS00OTE0LWE1NzktNjZkYzA4NzBhZGZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDIwNTEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIzOTZiZTY3NGRmOTczNDExYjcwODVjZTRjOTgxZjQwMjc1Y2YxMTgzZDM0NTExODRlMTRlMWQxYWVlZjdkMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SAAOTIg7dIZMvxRXsTp3rc5wumj2DBnXvtb4J9XJLPI)
![image](https://private-user-images.githubusercontent.com/25533953/331267561-4cfa0b64-23e4-4b21-9c30-1c47e87cd1be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMTQ1ODIsIm5iZiI6MTcyNDAxNDI4MiwicGF0aCI6Ii8yNTUzMzk1My8zMzEyNjc1NjEtNGNmYTBiNjQtMjNlNC00YjIxLTljMzAtMWM0N2U4N2NkMWJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDIwNTEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2ZWNjYmZmMDQ3MTM3ZmM1YzZkNTZjZjY4NzRlMjBjMGFiNjM3MzZjMTI2MTU3YzcyY2M5NWEwYWNlYmI3NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8k-5JMQd6n7flQE-eoAoceQfnQwv0tK5uXu7SV9hXpI)
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.
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.
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)
- [Bug] Use the plusar and spring aop ,the aop failed
- [Chore][Doc] Run a Pulsar cluster locally with Docker Compose HOT 1
- [Bug][client] Delay messages can be ack before reaching the delivery time HOT 2
- [Doc] Adding hyperlink jumps for keywords
- Revisit TableView/Builder Listener Interface HOT 2
- [Bug] [Regression] etcd mTLS doesn't work on 3.3.1 HOT 1
- Flaky-test: CurrentLedgerRolloverIfFullTest.testCurrentLedgerRolloverIfFull HOT 2
- Flaky-test: AdminApiTransactionTest.testGetTransactionBufferInternalStats
- Flaky-test: ManagedLedgerTest.testDeleteCurrentLedgerWhenItIsClosed
- [Bug] java client 3.3.1: newConsumer topicsPattern : java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index โ^public/default/pulsar-test-1\E$โ HOT 1
- [Bug] The orderingKey doesn't get copied to DLQ or Retry letter messages HOT 2
- [feat] Provide a solution for configuring Bookkeeper RocksDB settings in Pulsar Kubernetes deployments
- [Bug] Shadow topics and topics that have shadow topics cannot be deleted cleanly
- [Bug] DLQ handling code doesn't copy the message key to the DLQ message when RECONSUMETIMES limit is hit
- [Bug] Token is not updated if a function is updated
- [Bug] Inconsistent Metadata Read HOT 1
- [improve][client]pulsar-client-io thread has high CPU usage when client idle and batch message enable
- [Bug] BucketDelayedDeliveryTracker.containsMessage is not thread-safe, but it's called from another thread
- [improve][broker]Change the log level to reduce repeated error logs
- [Bug] NullPointerException in ConsumerBase.callMessageListener because "this.unAckedMessageTracker" is null HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulsar.