Skip to content

[improve][test] Add integration test for protocol handlers - #17350

Merged
codelipenghui merged 3 commits into
apache:masterfrom
andrasbeni:integrationTests
Sep 1, 2022
Merged

codelipenghui merged 3 commits into
apache:masterfrom
andrasbeni:integrationTests

Conversation

@andrasbeni

Copy link
Copy Markdown
Contributor

Master Issue: #17132

Motivation

Add tests to prevent unintended changes to how the broker uses Protocol Handlers.

Modifications

  • Created a stub protocol handler, EchoProtocolHandler.
  • Added it to pulsar-test-latest-version image
  • Created a new group of integration tests: plugins
  • Created a test that configures the protocol handler for the brokers and verifies that the protocol handler functions correctly

Verifying this change

  • Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for protocol handlers

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-not-needed
    This change only affects tests

@nicoloboschi nicoloboschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, we need to add it to the CI in the "system-tests" section

@eolivelli @cbornet PTAL

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Aug 30, 2022
@lhotari
lhotari requested a review from nicoloboschi August 31, 2022 07:51

@lhotari lhotari left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @andrasbeni

@codelipenghui
codelipenghui merged commit 5f9aab2 into apache:master Sep 1, 2022
@codelipenghui codelipenghui mentioned this pull request Sep 1, 2022
10 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci area/test doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants