-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Automate cpu runtime test #14508
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
Automate cpu runtime test #14508
Conversation
started the job as gitpod-build-furisto-test-integration-test-for-14221.10 because the annotations in the pull request description changed |
started the job as gitpod-build-furisto-test-integration-test-for-14221.11 because the annotations in the pull request description changed |
940c3bc
to
28f62a2
Compare
) | ||
|
||
func TestCpuBurst(t *testing.T) { | ||
f := features.New("cpulimiting").WithLabel("component", "ws-manager").Assess("check cpu limiting", func(_ context.Context, t *testing.T, cfg *envconf.Config) context.Context { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have to add a check if there is a configuration to enable CPU limit and if there isn't we should skip the test.
543951c
to
78735cd
Compare
@utam0k PTAL |
|
||
func TestCpuBurst(t *testing.T) { | ||
f := features.New("cpulimiting").WithLabel("component", "ws-manager").Assess("check cpu limiting", func(_ context.Context, t *testing.T, cfg *envconf.Config) context.Context { | ||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this time enough to wait for burst?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be enough, but I increased it just in case.
f := features.New("cpulimiting").WithLabel("component", "ws-manager").Assess("check cpu limiting", func(_ context.Context, t *testing.T, cfg *envconf.Config) context.Context { | ||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) | ||
defer cancel() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.Parallel() | |
78735cd
to
ab42b2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
until test will be passed
/unhold |
Description
Implement an integration test to automate the cpu runtime tests.
Related Issue(s)
Fixes #14221
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide