Skip to content

test: migrate VirtualMachineCancelMigration e2e test to new framework#2333

Open
eofff wants to merge 11 commits into
mainfrom
test/vm-migration-cancel-test-new-framework
Open

test: migrate VirtualMachineCancelMigration e2e test to new framework#2333
eofff wants to merge 11 commits into
mainfrom
test/vm-migration-cancel-test-new-framework

Conversation

@eofff
Copy link
Copy Markdown
Contributor

@eofff eofff commented May 8, 2026

Description

Migrate VirtualMachineCancelMigration e2e test to new framework.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: vm
type: chore
summary: Migrate VirtualMachineCancelMigration e2e test to new framework.
impact_level: low

@eofff eofff added this to the v1.9.0 milestone May 8, 2026
@eofff eofff force-pushed the test/vm-migration-cancel-test-new-framework branch from 90cf558 to 3428f03 Compare May 8, 2026 11:31
@eofff eofff requested a review from hardcoretime May 8, 2026 12:09
@eofff eofff marked this pull request as ready for review May 8, 2026 12:09
@eofff eofff requested a review from Isteb4k as a code owner May 8, 2026 12:09
Copy link
Copy Markdown
Contributor

@hardcoretime hardcoretime left a comment

Choose a reason for hiding this comment

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

Check all descriptions for English grammar.

Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/internal/util/vm.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
@eofff eofff force-pushed the test/vm-migration-cancel-test-new-framework branch 3 times, most recently from 0b5128f to d492d7d Compare May 12, 2026 21:26
@eofff eofff requested a review from hardcoretime May 12, 2026 21:33
@eofff eofff force-pushed the test/vm-migration-cancel-test-new-framework branch from d492d7d to d19d423 Compare May 12, 2026 21:34
Comment thread test/e2e/vm/migration_cancel.go Outdated
Expect(err).NotTo(HaveOccurred())

By("Wait for stress-ng to increase memory pressure")
Consistently(func() error {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What if migration is queued?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added check error log before checking migration state

Comment thread test/e2e/vm/migration_cancel.go Outdated
Comment thread test/e2e/vm/migration_cancel.go Outdated
@eofff eofff force-pushed the test/vm-migration-cancel-test-new-framework branch from 5d6c7f9 to c2b3e2d Compare May 13, 2026 12:37
@eofff eofff added e2e/run Run e2e test on cluster of PR author and removed e2e/run Run e2e test on cluster of PR author labels May 13, 2026
@eofff eofff force-pushed the test/vm-migration-cancel-test-new-framework branch from c2b3e2d to fa0914f Compare May 13, 2026 13:37
@eofff eofff requested a review from hardcoretime May 13, 2026 15:42
Valeriy Khorunzhin added 10 commits May 14, 2026 01:05
fix
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff force-pushed the test/vm-migration-cancel-test-new-framework branch from 2aed18c to 3ed5082 Compare May 13, 2026 22:06
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.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