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

test: Add CRI benchmarks for container operations #1569

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

helsaawy
Copy link
Contributor

Add CRI API benchmarks to cri-containerd.test.exe, and update helper functions in cri-containerd to accept tb testing.TB instead of t *testing.T.

Switched cri-containerd to test\internal\flag so that test\internal\require can be used to check if features are present since that implementation already mirrors what cri-containerd does, but accepts a testing.TB, and deleted old
test/internal/stringsetflag.go file.

Renamed scripts/Test-Functionl.ps1 to scripts/Run-Tests.ps1, and updated it to run both functional and CRI tests and benchmarks.

Signed-off-by: Hamza El-Saawy [email protected]

Add CRI API benchmarks to `cri-containerd.test.exe`, and update helper
functions in `cri-containerd` to accept `tb testing.TB` instead of
`t *testing.T`.

Switched `cri-containerd` to `test\internal\flag` so that
`test\internal\require` can be used to check if features are present
since that implementation already mirrors what `cri-containerd` does,
but accepts a `testing.TB`, and deleted old
`test/internal/stringsetflag.go` file.

Renamed `scripts/Test-Functionl.ps1` to `scripts/Run-Tests.ps1`, and
updated it to run both functional and CRI tests and benchmarks.

Signed-off-by: Hamza El-Saawy <[email protected]>
@helsaawy
Copy link
Contributor Author

rebase to get CI fixes for failing integration testing

Copy link
Contributor

@katiewasnothere katiewasnothere left a comment

Choose a reason for hiding this comment

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

small nits, otherwise lgtm

Signed-off-by: Hamza El-Saawy <[email protected]>
@helsaawy helsaawy merged commit db7a679 into microsoft:main Jan 31, 2023
@helsaawy helsaawy deleted the cri-bench branch January 31, 2023 22:01
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