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

Run cargo test as part of the CI #120

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

omertuc
Copy link
Member

@omertuc omertuc commented Mar 15, 2024

I've added some unit tests recently, but they were not run as part of our GitHub actions. This commit that.

Also fix some broken unit tests. The unit tests were correct but sometimes they would race with each other and fail. I added the serial_test crate so we can annotate the tests with #[serial] to ensure they don't run together (as these tests modify a global variable).

Also fixed some unused var warning that seems to have only started showing up in recent versions of rust/clippy.

@omertuc
Copy link
Member Author

omertuc commented Mar 15, 2024

/test baremetalds-sno-recert-cluster-rename
/test e2e-aws-ovn-single-node-recert-serial
/test e2e-aws-ovn-single-node-recert-parallel

I've added some unit tests recently, but they were not run as part of
our GitHub actions. This commit fixes that.

Also fix some broken unit tests. The unit tests were correct but
sometimes they would race with each other and fail. I added the
`serial_test` crate so we can annotate the tests with `#[serial]` to
ensure they don't run together (as these tests modify a global
variable).

Also fixed some unused var warning that seems to have only started
showing up in recent versions of rust/clippy.
@omertuc
Copy link
Member Author

omertuc commented Mar 15, 2024

/test baremetalds-sno-recert-cluster-rename
/test e2e-aws-ovn-single-node-recert-serial
/test e2e-aws-ovn-single-node-recert-parallel

@mresvanis
Copy link
Member

I'll add the unit test execution in Prow as well 👍

@omertuc
Copy link
Member Author

omertuc commented Mar 15, 2024

/test e2e-aws-ovn-single-node-recert-serial

@mresvanis
Copy link
Member

/test e2e-aws-ovn-single-node-recert-parallel baremetalds-sno-recert-cluster-rename

@mresvanis
Copy link
Member

/lgmt
/approve

Copy link

openshift-ci bot commented Mar 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mresvanis, omertuc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mresvanis
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 22, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 7c945fa into rh-ecosystem-edge:main Mar 22, 2024
11 checks passed
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