test: increase coreFraction in e2e tests#2217
Draft
universal-itengineer wants to merge 14 commits intomainfrom
Draft
test: increase coreFraction in e2e tests#2217universal-itengineer wants to merge 14 commits intomainfrom
universal-itengineer wants to merge 14 commits intomainfrom
Conversation
625cc9a to
49eefd1
Compare
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
b0d1d89 to
b93789f
Compare
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
e44cbfd to
c82b40b
Compare
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Increase CPU coreFraction allocation and fix resource cleanup in e2e tests to improve test stability.
Changes
Increase coreFraction in e2e tests (
test/e2e/blockdevice/data_exports.go,test/e2e/vm/configuration.go,test/e2e/vm/sizing_policy.go,test/e2e/vmop/restore.go):Increase coreFraction in legacy e2e tests (
test/e2e/legacy/testdata/*):Fix cleanup in ComplexTest (
test/e2e/legacy/complex.go):Context/Itblock toAfterAllhookWhy do we need it, and what problem does it solve?
E2e tests with low coreFraction (5%) are flaky and fail intermittently due to insufficient CPU resources, especially in CI environments with resource contention. Additionally, the cleanup logic in ComplexTest was placed inside a test step, causing test resources to remain in the cluster if tests failed before reaching that step.
What is the expected result?
Checklist
Changelog entries