Skip to content

Commit

Permalink
system-test: update parameters (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
yprokule authored Jun 28, 2024
1 parent 146940b commit 3d5944e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit 3d5944e

Please sign in to comment.