Skip to content
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

Add e2e test for broadcast subscription type of resource status update #137

Merged

Conversation

morvencao
Copy link
Contributor

@morvencao morvencao commented Jun 20, 2024

This PR adds an E2E test for scenarios where the MQTT broker doesn't support shared subscriptions, requiring the use of broadcast subscription for the resource status dispatcher.

@morvencao morvencao force-pushed the add_e2e_for_broadcast_sub branch from 5192e64 to eac8bd5 Compare June 20, 2024 07:04
@morvencao morvencao force-pushed the add_e2e_for_broadcast_sub branch 3 times, most recently from 1e79599 to 43ac242 Compare June 28, 2024 04:16
@clyang82
Copy link
Contributor

clyang82 commented Jul 1, 2024

/ok-to-test

@@ -23,14 +23,36 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup kind
uses: engineerd/[email protected]
# - name: Setup kind
Copy link
Contributor

Choose a reason for hiding this comment

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

will it be provided by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The kind binary will be installed using e2e_setup.sh (see: https://github.com/openshift-online/maestro/blob/main/test/e2e/setup/e2e_setup.sh#L20-L25)).
This action sets up a KinD cluster named kind, which is not needed for our purposes. Instead, we will create a KinD cluster named maestro with our own configuration.

@morvencao morvencao force-pushed the add_e2e_for_broadcast_sub branch 4 times, most recently from 48fcd93 to 271a90b Compare July 1, 2024 04:35
@qiujian16
Copy link
Contributor

we need to do a rebase for this

@morvencao morvencao force-pushed the add_e2e_for_broadcast_sub branch from 271a90b to 12c6382 Compare July 4, 2024 02:00
@morvencao
Copy link
Contributor Author

rebased the code @qiujian16

@morvencao morvencao changed the title Add e2e for broadcast subscription type for resource status update Add e2e for broadcast subscription type of resource status update Jul 4, 2024
@morvencao morvencao changed the title Add e2e for broadcast subscription type of resource status update Add e2e test for broadcast subscription type of resource status update Jul 4, 2024
Copy link
Contributor

@clyang82 clyang82 left a comment

Choose a reason for hiding this comment

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

LGTM

@clyang82 clyang82 merged commit 7f9969c into openshift-online:main Jul 4, 2024
6 checks passed
@morvencao morvencao deleted the add_e2e_for_broadcast_sub branch July 4, 2024 14:07
yanmxa pushed a commit to yanmxa/maestro that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants