Skip to content
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

system-test: update parameters #73

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func defineNROPDeployment(containerConfig *corev1.Container, deployName, deployN

// VerifyNROPWorkload deploys workload with NROP scheduler.
func VerifyNROPWorkload(ctx SpecContext) {
By("Checking SR-IOV deployments don't exist")
By("Checking NROP deployment doesn't exist")

deleteDeployments(nropDeploy1Name, RDSCoreConfig.WlkdNROPOneNS)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ func VerifySRIOVWorkloadsOnSameNode(ctx SpecContext) {
RDSCoreConfig.WldkSRIOVDeployOneResLimits)

deployContainerTwo := defineContainer(sriovContainerTwoName, RDSCoreConfig.WlkdSRIOVDeployTwoImage,
RDSCoreConfig.WlkdSRIOVDeployTwoCmd, RDSCoreConfig.WldkSRIOVDeployOneResRequests,
RDSCoreConfig.WldkSRIOVDeployOneResLimits)
RDSCoreConfig.WlkdSRIOVDeployTwoCmd, RDSCoreConfig.WldkSRIOVDeployTwoResRequests,
RDSCoreConfig.WldkSRIOVDeployTwoResLimits)

By("Obtaining container definition")

Expand Down Expand Up @@ -1156,7 +1156,7 @@ func VerifySRIOVWorkloadsOnDifferentNodesDifferentNet(ctx SpecContext) {
sriovDeploy4OneName, RDSCoreConfig.WlkdSRIOV4NS)

Eventually(func() bool {
oldPods, _ := pod.List(APIClient, RDSCoreConfig.WlkdSRIOV3NS,
oldPods, _ := pod.List(APIClient, RDSCoreConfig.WlkdSRIOV4NS,
metav1.ListOptions{LabelSelector: sriovDeploy4OneLabel})

return len(oldPods) == 0
Expand All @@ -1170,7 +1170,7 @@ func VerifySRIOVWorkloadsOnDifferentNodesDifferentNet(ctx SpecContext) {
sriovDeploy4TwoName, RDSCoreConfig.WlkdSRIOV4NS)

Eventually(func() bool {
oldPods, _ := pod.List(APIClient, RDSCoreConfig.WlkdSRIOV3NS,
oldPods, _ := pod.List(APIClient, RDSCoreConfig.WlkdSRIOV4NS,
metav1.ListOptions{LabelSelector: sriovDeploy4TwoLabel})

return len(oldPods) == 0
Expand Down
Loading