Skip to content

Commit ecdacdd

Browse files
authored
update some unstable cases (openshift#2689)
1 parent af73c08 commit ecdacdd

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

features/networking/sriov.feature

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Feature: Sriov related scenarios
169169
| cr_name | <cardname>-netdevice |
170170
| resource_type | sriovnetworknodepolicies |
171171
Then the step should succeed
172-
And I wait up to 500 seconds for the steps to pass:
172+
And I wait up to 1000 seconds for the steps to pass:
173173
"""
174174
When I run the :get admin command with:
175175
| resource | sriovnetworknodestates |
@@ -227,7 +227,7 @@ Feature: Sriov related scenarios
227227
Then the step should succeed
228228

229229
And admin checks that the "intel-netdevice-rhcos" network_attachment_definition exists in the "<%= cb.usr_project1 %>" project
230-
And admin checks that the "intel-netdevice-rhcos" sriov_network is deleted from the "openshift-sriov-network-operator" project
230+
Given admin ensures "intel-netdevice-rhcos" sriov_network is deleted from the "openshift-sriov-network-operator" project
231231
And admin checks that there are no network_attachment_definition in the "<%= cb.usr_project1 %>" project
232232

233233
# @author zzhao@redhat.com
@@ -545,13 +545,13 @@ Feature: Sriov related scenarios
545545
| intel-netdevice |
546546
| syncStatus: Succeeded |
547547
| vfID: 4 |
548-
"""
549548
When I run the :get admin command with:
550549
| resource | node |
551550
| l | feature.node.kubernetes.io/sriov-capable=true |
552551
| o | yaml |
553552
Then the step should succeed
554553
And the output should contain "openshift.io/intelnetdevice: "5""
554+
"""
555555

556556
# @author zzhao@redhat.com
557557
# @case_id OCP-30268
@@ -562,22 +562,20 @@ Feature: Sriov related scenarios
562562
Given sriov config daemon is ready
563563
Given I patch the sriov logs to "0"
564564
Then the step should succeed
565-
Given 10 seconds have passed
566565
When I run the :logs admin command with:
567566
| resource_name | <%= pod.name %> |
568567
| c | sriov-network-config-daemon |
569568
| since | 10s |
570569
Then the step should succeed
571-
And the output should not contain "nodeUpdateHandler"
570+
And the output should contain "Set log verbose level to: 0"
572571
Given I patch the sriov logs to "2"
573572
Then the step should succeed
574-
Given 10 seconds have passed
575573
When I run the :logs admin command with:
576574
| resource_name | <%= pod.name %> |
577575
| c | sriov-network-config-daemon |
578576
| since | 10s |
579577
Then the step should succeed
580-
And the output should contain "nodeUpdateHandler"
578+
And the output should contain "Set log verbose level to: 2"
581579

582580
# @author zzhao@redhat.com
583581
# @case_id OCP-30277
@@ -698,7 +696,7 @@ Feature: Sriov related scenarios
698696
| cr_name | intel-dpdk |
699697
| resource_type | sriovnetworknodepolicies |
700698
Then the step should succeed
701-
And I wait up to 300 seconds for the steps to pass:
699+
And I wait up to 1000 seconds for the steps to pass:
702700
"""
703701
When I run the :get admin command with:
704702
| resource | sriovnetworknodestates |

testdata/networking/sriov/sriovnetworkpolicy/mlx277-netdevice.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ spec:
99
deviceID: '1015'
1010
pfNames:
1111
- ens2f0
12-
rootDevices:
13-
- '0000:60:00.0'
1412
vendor: '15b3'
1513
nodeSelector:
1614
feature.node.kubernetes.io/sriov-capable: 'true'

0 commit comments

Comments
 (0)