Skip to content

Commit

Permalink
system-test: update parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
yprokule committed Jun 28, 2024
1 parent 5083ff4 commit d4a1ba5
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 d4a1ba5

Please sign in to comment.