Skip to content

Conversation

@pajakd
Copy link
Collaborator

@pajakd pajakd commented Jan 21, 2026

Description

We want to validate that after cube failure, the re-created slice includes only healthy cubes.

Issue

Testing

@pajakd pajakd changed the title [slice] Extend e2e test [slice] Extend e2e test for cube failure Jan 21, 2026
})

ginkgo.By("Checking that a new Slice is created", func() {
ginkgo.By(fmt.Sprintf("Setting the old cube %s to unhealthy", oldCube), func() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be done before the SliceState is set to error

Copy link
Collaborator Author

@pajakd pajakd Jan 23, 2026

Choose a reason for hiding this comment

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

Both should work, but you are right, this looks more realistic. Updated.

}, utils.Timeout, utils.Interval).Should(gomega.Succeed())
}, nodeName)
})

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we verify that Workload's status.schedulingStats contain the eviction?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@PBundyra
Copy link
Collaborator

LGTM

@pajakd pajakd merged commit 8c79d32 into AI-Hypercomputer:slice-main Jan 23, 2026
15 of 17 checks passed
@pajakd pajakd deleted the e2e_retry branch January 23, 2026 13:05
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