diff mbox series

[8/8] rt-tests: hwlatdetect: Fix incorrect comment about testduration

Message ID 20221111195323.27402-8-jkacur@redhat.com
State New
Headers show
Series [1/8] rt-tests: Remove arbitrary num of threads limits | expand

Commit Message

John Kacur Nov. 11, 2022, 7:53 p.m. UTC
At some point
self.testduration = 10
was changed to
self.testduration = 30

but retained the comment, "ten seconds"

Just change the comment to say, "in seconds" so it's clear what unit
we are talking about.

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 src/hwlatdetect/hwlatdetect.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/hwlatdetect/hwlatdetect.py b/src/hwlatdetect/hwlatdetect.py
index c5b3a689dcd1..68df58f7e2d0 100755
--- a/src/hwlatdetect/hwlatdetect.py
+++ b/src/hwlatdetect/hwlatdetect.py
@@ -130,7 +130,7 @@  class Detector:
         if not self.debugfs.mount():
             raise RuntimeError("failed to mount debugfs")
         self.samples = []
-        self.testduration = 30  # ten seconds
+        self.testduration = 30  # in seconds
         self.have_msr = False
         self.initsmi = []
         if os.path.exists('/usr/sbin/rdmsr'):