test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests: fix string to match DPDK output
@ 2021-07-19 11:04 Reshma Pattan
  2021-07-20  9:43 ` Pattan, Reshma
  0 siblings, 1 reply; 3+ messages in thread
From: Reshma Pattan @ 2021-07-19 11:04 UTC (permalink / raw)
  To: dts; +Cc: Anatoly Burakov, Reshma Pattan

From: Anatoly Burakov <anatoly.burakov@intel.com>

The TestSuite_power_pbf.py is failing due to change
in the DPDK vm_power_mgmt application output, so
change test case to adopt the new o/p.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
---
 tests/TestSuite_power_pbf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_power_pbf.py b/tests/TestSuite_power_pbf.py
index c3e2075..083fd5b 100644
--- a/tests/TestSuite_power_pbf.py
+++ b/tests/TestSuite_power_pbf.py
@@ -174,7 +174,7 @@ class TestPowerPbf(TestCase):
         cmd = [' '.join([self.vm_power_mgr, option]), prompt, 30]
         output = self.d_con(cmd)
         self.is_mgr_on = True
-        
+
         return output
 
     def close_vm_power_mgr(self):
@@ -361,11 +361,11 @@ class TestPowerPbf(TestCase):
     def parse_vm_power_cores_freq(self, output):
         ''' get vm power management cores frequency '''
         pat_begin = (
-            'POWER: power_set_governor_performance: Power management '
+            'POWER: power_set_governor: Power management '
             'governor of lcore (\\d+) is already performance')
         pat_begin2 = (
-            'Power management governor of lcore (\d+) '
-            'has been set to performance successfully')
+            "Power management governor of lcore (\d+) "
+            "has been set to 'performance' successfully")
         pat_end = \
             'POWER: Initialized successfully for lcore (\\d+) power management'
         pat_freq = (
-- 
1.8.3.1


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

* Re: [dts] [PATCH] tests: fix string to match DPDK output
  2021-07-19 11:04 [dts] [PATCH] tests: fix string to match DPDK output Reshma Pattan
@ 2021-07-20  9:43 ` Pattan, Reshma
  2021-07-26  2:10   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Pattan, Reshma @ 2021-07-20  9:43 UTC (permalink / raw)
  To: dts; +Cc: Burakov, Anatoly



> -----Original Message-----
> From: Pattan, Reshma <reshma.pattan@intel.com>
> Sent: Monday, July 19, 2021 12:05 PM
> To: dts@dpdk.org
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>; Pattan, Reshma
> <reshma.pattan@intel.com>
> Subject: [PATCH] tests: fix string to match DPDK output
> 
> From: Anatoly Burakov <anatoly.burakov@intel.com>
> 
> The TestSuite_power_pbf.py is failing due to change in the DPDK
> vm_power_mgmt application output, so change test case to adopt the new o/p.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>

Tested-by: Reshma Pattan <reshma.pattan@intel.com>

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

* Re: [dts] [PATCH] tests: fix string to match DPDK output
  2021-07-20  9:43 ` Pattan, Reshma
@ 2021-07-26  2:10   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-07-26  2:10 UTC (permalink / raw)
  To: Pattan, Reshma, dts; +Cc: Burakov, Anatoly



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Pattan, Reshma
> Sent: 2021年7月20日 17:43
> To: dts@dpdk.org
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>
> Subject: Re: [dts] [PATCH] tests: fix string to match DPDK output
> 
> 
> 
> > -----Original Message-----
> > From: Pattan, Reshma <reshma.pattan@intel.com>
> > Sent: Monday, July 19, 2021 12:05 PM
> > To: dts@dpdk.org
> > Cc: Burakov, Anatoly <anatoly.burakov@intel.com>; Pattan, Reshma
> > <reshma.pattan@intel.com>
> > Subject: [PATCH] tests: fix string to match DPDK output
> >
> > From: Anatoly Burakov <anatoly.burakov@intel.com>
> >
> > The TestSuite_power_pbf.py is failing due to change in the DPDK
> > vm_power_mgmt application output, so change test case to adopt the new
> o/p.
> >
> > Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> > Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
> 
> Tested-by: Reshma Pattan <reshma.pattan@intel.com>

Applied, thanks

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

end of thread, other threads:[~2021-07-26  2:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 11:04 [dts] [PATCH] tests: fix string to match DPDK output Reshma Pattan
2021-07-20  9:43 ` Pattan, Reshma
2021-07-26  2:10   ` 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).