-
Notifications
You must be signed in to change notification settings - Fork 3.7k
re-enabling integration tests for Sinks #12307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
eolivelli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good
@vroyer you may be interested in this patch
nicoloboschi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great, +1
lhotari
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* up/master: (37 commits) re-enabling integration tests for Sinks (apache#12307) [PIP 95][Issue 12040][web] Topic lookup with listener header (apache#12072) Fix the master CI broken with update dispatch rate block issue (apache#12360) Fix message being ignored when the non-persistent topic reader reconnect. (apache#12348) Fix log format. (apache#12346) [website][upgrade]feat: docs migration - version-2.7.2 Concepts and Architecture (apache#12354) [website][upgrade] feat: full docs migration for version 2.8.0 (apache#12359) [website][upgrade]feat: dynamic replace version info before build (apache#12337) Fix flaky tests: ElasticSearchClientTests (apache#12347) Use asyncCloseCursorLedger to replace cursorLedger.asyncClose method in the ManagedCursorImpl.VoidCallback#operationComplete (apache#12113) fix-npe-ZkBookieRackAffinityMapping (apache#11947) [pulsar-admin] Allow setting --forward-source-message-property to false when updating a pulsar function (apache#12128) [website][upgrade]feat: docs migration - Development (apache#12320) Update delete inactive topic configuration documentation (apache#12350) [PIP 95][Issue 12040][broker] Multiple bind addresses for Pulsar protocol (apache#12056) Added Debezium Source for MS SQL Server (apache#12256) Fix: flaky oracle tests (apache#12306) [C++] Use URL encoded content type for OAuth 2.0 authentication (apache#12341) [C++] Handle OAuth 2.0 exceptional cases gracefully (apache#12335) feat(cli): add restart command to pulsar-daemon (apache#12279) ... # Conflicts: # site2/website-next/docusaurus.config.js # site2/website-next/versioned_sidebars/version-2.7.2-sidebars.json # site2/website-next/versions.json
* re-enabling integration tests for Sinks * close elasticClient * Upgrade Elastic container * Split into two jobs, plus system prune * disabling tests for elastic * Revert "disabling tests for elastic" This reverts commit 26862c3. * reduce memory for elastic * Revert "Split into two jobs, plus system prune" This reverts commit e39ffdd.
Motivation
Integration tests for sinks used to fail/timeout and were excluded when tests for Pulsar IO were brought back.
Modifications
Re-enabled tests.
Made sure that elasticClient is closed after the test (reduced flakiness locally)
Upgraded Elastic to a slightly newer version (w/smaller container).
That removed all flakiness on my mac.
CI still failed with random containers from pulsar failing to start, timing out etc (BK, broker)
Reduced memory for the Elastic container and it seems to fix the problems on CI.
There are still some tests with "enabled-false", I am not sure what's the history there and didn't look at these:
Verifying this change
Does this pull request potentially affect one of the following parts:
No
Documentation