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

chore: add API BNs to release qualification tests #4310

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

r-birkner
Copy link
Contributor

@r-birkner r-birkner commented Mar 11, 2025

This PR adds the API boundary nodes to the release qualification tests. It adds two types of tests:

  • Upgrading/downgrading the API BNs
  • Health-checking and routing requests (status, query call, update call, read state) through the API BNs.

I ran the release qualification tests on this PR here.

@github-actions github-actions bot added the chore label Mar 11, 2025
@r-birkner r-birkner force-pushed the rjb/add-api-bn-to-qualification branch from 12cd2b4 to 12174fc Compare March 11, 2025 14:36
@r-birkner r-birkner force-pushed the rjb/add-api-bn-to-qualification branch from 951b76c to 69f1b69 Compare March 11, 2025 15:57
@r-birkner r-birkner marked this pull request as ready for review March 11, 2025 17:50
@r-birkner r-birkner requested review from a team as code owners March 11, 2025 17:50
) -> anyhow::Result<()> {
let logger = env.logger();

// check that there are even API boundary nodes
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would recommend changing all of the comments below into info!(logger, "...") calls such that it's easier to see what this test is doing by looking at the test output.

.map(|n| n.node_id)
.collect();

let proposal_id = rt.block_on(submit_update_api_boundary_node_version_proposal(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would also add some logs per rt.block_on. That will help later when debugging in case this test times out in one of these operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants