test: fix flaky confluenctinc kafka error#7460
Conversation
The broker needs some time after creating a new topic to settle in.
Overall package sizeSelf size: 4.58 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7460 +/- ##
==========================================
- Coverage 80.34% 80.33% -0.01%
==========================================
Files 731 731
Lines 31093 31093
==========================================
- Hits 24981 24980 -1
- Misses 6112 6113 +1 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BenchmarksBenchmark execution time: 2026-02-08 02:12:00 Comparing candidate commit 9fe407f in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 231 metrics, 29 unstable metrics. |
packages/datadog-plugin-confluentinc-kafka-javascript/test/index.spec.js
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
The broker needs some time after creating a new topic to settle in. The old commented error test case could not work due to expecting to catch a user error (which we should not). It is therefore removed.
The broker needs some time after creating a new topic to settle in. The old commented error test case could not work due to expecting to catch a user error (which we should not). It is therefore removed.
The broker needs some time after creating a new topic to settle in. The old commented error test case could not work due to expecting to catch a user error (which we should not). It is therefore removed.
The broker needs some time after creating a new topic to settle in. The old commented error test case could not work due to expecting to catch a user error (which we should not). It is therefore removed.
The broker needs some time after creating a new topic to settle in. The old commented error test case could not work due to expecting to catch a user error (which we should not). It is therefore removed.
The broker needs some time after creating a new topic to settle in. I was able to run it 400 times in a row without error while it could theoretically still fail in some rare circumstances.
I also removed the old commented error test case. It could not work like that due to
expecting to catch a user error (which we should not).