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

feat: add e2e tests for resource and user flags #5

Merged
merged 10 commits into from
Dec 12, 2022

Conversation

AnqiPang
Copy link
Contributor

Issue #, if available:

Description of changes:

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@AnqiPang AnqiPang force-pushed the anqipang/test-run-resource branch from d65acdc to e29070b Compare November 23, 2022 21:24
@AnqiPang AnqiPang force-pushed the anqipang/test-run-resource branch from e29070b to bab676b Compare November 23, 2022 21:25
@AnqiPang AnqiPang changed the title add e2e tests for resource and user flags feat: add e2e tests for resource and user flags Nov 23, 2022
tests/run.go Outdated Show resolved Hide resolved
tests/run.go Show resolved Hide resolved
tests/run.go Outdated Show resolved Hide resolved
@AnqiPang AnqiPang force-pushed the anqipang/test-run-resource branch from bfdb54e to cc915bc Compare December 7, 2022 17:29
Copy link
Contributor

@davidhsingyuchen davidhsingyuchen left a comment

Choose a reason for hiding this comment

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

LGTM overall, please also create a follow-up to only run --no-trunc and --no-stream tests for cgroupv2 hosts (#5 (comment)). We can probably also move type CGMode int from run.go to tests.go as multiple test options will reference it.

tests/run.go Outdated Show resolved Hide resolved
tests/run.go Outdated Show resolved Hide resolved
tests/run.go Show resolved Hide resolved
tests/run.go Outdated Show resolved Hide resolved
@AnqiPang
Copy link
Contributor Author

AnqiPang commented Dec 8, 2022

please also create a follow-up to only run --no-trunc and --no-stream tests for cgroupv2 hosts (#5 (comment)).

I will double check whether stats tests all fail with cgroup v1 and then create a github issue for that.

@davidhsingyuchen davidhsingyuchen removed their request for review December 9, 2022 00:08
Signed-off-by: Anqi Pang <[email protected]>
@AnqiPang AnqiPang merged commit 1d5ec0d into runfinch:main Dec 12, 2022
mharwani pushed a commit that referenced this pull request Dec 15, 2022
🤖 I have created a release *beep* *boop*
---


##
[0.2.0](v0.1.1...v0.2.0)
(2022-12-13)


### Features

* add e2e tests for resource and user flags
([#5](#5))
([1d5ec0d](1d5ec0d))


### Build System or External Dependencies

* **deps:** bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0
([#12](#12))
([a676453](a676453))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants