Skip to content

Commit

Permalink
[pylibs] don't set trace watch level by default / remove unnecessary …
Browse files Browse the repository at this point in the history
…'watch default debug'
  • Loading branch information
EskoDijk committed Jun 11, 2024
1 parent 7b1b85c commit 6e7b486
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pylibs/stress_tests/network_limits.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run(self):
def test(self, child_type: str, parent_type: str = 'router', n_children_max: int = CHILDREN_N):
self.reset()
self.ns.log = 'debug'
self.ns.watch_default('trace')
#self.ns.watch_default('trace') # can enable trace level to see radio state details
self.ns.add(parent_type, PARENT_X, PARENT_Y)
self.ns.go(7)

Expand Down
1 change: 0 additions & 1 deletion pylibs/unittests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def testDelNodeAndImmediatelyRecreate(self):

ns = self.ns
ns.loglevel = 'debug'
ns.watch_default('debug') # add extra detail in all node's logs
id = ns.add("router")
self.assertTrue(len(ns.nodes()) == 1 and 1 in ns.nodes() and id == 1)
self.go(i/100)
Expand Down

0 comments on commit 6e7b486

Please sign in to comment.