test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
@ 2021-02-04 11:35 sunqin
  2021-02-04  3:10 ` Sun, QinX
  0 siblings, 1 reply; 3+ messages in thread
From: sunqin @ 2021-02-04 11:35 UTC (permalink / raw)
  To: dts; +Cc: sunqin

The action after deleting rule is not guaranteed, so remove related steps.

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_cvl_advanced_rss_gtpu.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tests/TestSuite_cvl_advanced_rss_gtpu.py b/tests/TestSuite_cvl_advanced_rss_gtpu.py
index b41a5d4a..8dd9fdbc 100755
--- a/tests/TestSuite_cvl_advanced_rss_gtpu.py
+++ b/tests/TestSuite_cvl_advanced_rss_gtpu.py
@@ -4863,18 +4863,6 @@ class TestCVLAdvancedRSSGTPU(TestCase):
         self.verify(hash_values[4] != hash_values[3], 'packet 5 should has different hash value with packet 4')
         self.verify(hash_values[5] == hash_values[3], 'packet 6 should has same hash value with packet 4')
 
-        self.rssprocess.destroy_rule(port_id=0, rule_id=rule0)
-        hash_values, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1[3:])
-        self.verify(hash_values[1] != hash_values[0], 'should get different hash values')
-        self.verify(hash_values[2] == hash_values[0], 'should get same hash values')
-
-        rule2 = self.rssprocess.create_rule(rules[0])
-        hash_values, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1)
-        self.verify(hash_values[1] == hash_values[0], 'packet 2 should has same hash value with packet 1')
-        self.verify(hash_values[2] != hash_values[0], 'packet 3 should has different hash value with packet 1')
-        self.verify(hash_values[4] == hash_values[3], 'packet 5 should has same hash value with packet 4')
-        self.verify(hash_values[5] != hash_values[3], 'packet 6 should has different hash value with packet 4')
-
     def test_ipv4_gtpu_eh_ipv4_and_ipv4_gtpu_eh_ipv4_udp_tcp(self):
         self.switch_testpmd(enable_rss=True)
         pkts1 = [
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-19  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 11:35 [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step sunqin
2021-02-04  3:10 ` Sun, QinX
2021-02-19  7:42   ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).