Skip to content

Conversation

@eofff
Copy link
Contributor

@eofff eofff commented Dec 19, 2025

Description

Exclude power state checks from complex test. Write new e2e power state test.

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: Exclude power state checks from complex test. Write new e2e power state test.
impact_level: low

@eofff eofff added this to the v1.4.0 milestone Dec 19, 2025
@eofff eofff marked this pull request as ready for review December 19, 2025 10:01
@eofff eofff requested review from Isteb4k and fl64 as code owners December 19, 2025 10:01
@eofff eofff force-pushed the test/power-state-check branch from 19e556f to 5435a88 Compare December 19, 2025 13:10
@eofff eofff requested a review from hardcoretime December 24, 2025 08:13
@eofff eofff force-pushed the test/power-state-check branch from 5435a88 to f37fa61 Compare December 24, 2025 08:20
Comment on lines +276 to +295
t.VMOPStop = vmopbuilder.New(
vmopbuilder.WithGenerateName("vmop-stop-"),
vmopbuilder.WithNamespace(t.VM.Namespace),
vmopbuilder.WithType(v1alpha2.VMOPTypeStop),
vmopbuilder.WithVirtualMachine(t.VM.Name),
)

t.VMOPStart = vmopbuilder.New(
vmopbuilder.WithGenerateName("vmop-start-"),
vmopbuilder.WithNamespace(t.VM.Namespace),
vmopbuilder.WithType(v1alpha2.VMOPTypeStart),
vmopbuilder.WithVirtualMachine(t.VM.Name),
)

t.VMOPRestart = vmopbuilder.New(
vmopbuilder.WithGenerateName("vmop-restart-"),
vmopbuilder.WithNamespace(t.VM.Namespace),
vmopbuilder.WithType(v1alpha2.VMOPTypeRestart),
vmopbuilder.WithVirtualMachine(t.VM.Name),
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why don't you use the functions from the util.go file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to check vmop status.

@eofff eofff marked this pull request as draft December 30, 2025 08:54
Valeriy Khorunzhin added 2 commits January 12, 2026 14:35
add
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
fix
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff force-pushed the test/power-state-check branch from f37fa61 to 41b15fc Compare January 12, 2026 11:35
Valeriy Khorunzhin and others added 5 commits January 12, 2026 15:23
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
Co-authored-by: Roman Sysoev <36233932+hardcoretime@users.noreply.github.com>
Signed-off-by: Valeriy Khorunzhin <b1kapb999@gmail.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 requested a review from hardcoretime January 12, 2026 15:18
@eofff eofff marked this pull request as ready for review January 12, 2026 15:18
fix
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff force-pushed the test/power-state-check branch from a097eb5 to 5e0bc37 Compare January 12, 2026 16:35
@eofff eofff marked this pull request as draft January 12, 2026 16:36
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff force-pushed the test/power-state-check branch from 5e0bc37 to dcaf210 Compare January 12, 2026 17:37
@eofff eofff marked this pull request as ready for review January 12, 2026 17:39
@eofff eofff marked this pull request as draft January 12, 2026 17:48
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
@eofff eofff marked this pull request as ready for review January 13, 2026 02:45
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