summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topogen.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-04-28 11:11:41 -0400
committerChristian Hopps <chopps@labn.net>2023-04-29 02:36:17 -0400
commit3e09791861339b639568aae2f1e8c543424c29d7 (patch)
tree513d3be1283da762a2b2dc54d2e1c84e3a9c9d38 /tests/topotests/lib/topogen.py
parent6b7481aa8dcf539e133b0a8f7e2a4a612939ede1 (diff)
tests: change topotest log timestamp precision to 6.
- Often millisecond precision is not good enough to differentiate things that occur directly one after another, and things that have some pause in between, increase to microsecond precision (reporting) Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/topogen.py')
-rw-r--r--tests/topotests/lib/topogen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/topotests/lib/topogen.py b/tests/topotests/lib/topogen.py
index 3583ce17ed..2d6138990e 100644
--- a/tests/topotests/lib/topogen.py
+++ b/tests/topotests/lib/topogen.py
@@ -236,7 +236,6 @@ class Topogen(object):
self.add_topology_from_dict(topodef)
def add_topology_from_dict(self, topodef):
-
keylist = (
topodef.keys()
if isinstance(topodef, OrderedDict)
@@ -869,7 +868,7 @@ class TopoRouter(TopoGear):
"conf t",
"log file {}.log debug".format(daemon),
"log commands",
- "log timestamp precision 3",
+ "log timestamp precision 6",
]
),
daemon=daemon,
@@ -919,7 +918,7 @@ class TopoRouter(TopoGear):
"conf t",
"log file {}.log debug".format(daemon),
"log commands",
- "log timestamp precision 3",
+ "log timestamp precision 6",
]
),
daemon=daemon,
@@ -1204,6 +1203,7 @@ class TopoExaBGP(TopoHost):
# Diagnostic function
#
+
# Disable linter branch warning. It is expected to have these here.
# pylint: disable=R0912
def diagnose_env_linux(rundir):