diff options
| author | Christian Hopps <chopps@labn.net> | 2023-03-24 18:02:16 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-04-07 05:56:12 +0000 |
| commit | fa773d11093003757a018d82598c1c7179045706 (patch) | |
| tree | bcfaf0c18434eb3cfbd93f5cfb572d27c695637f /tests/topotests/lib/topogen.py | |
| parent | 66707495d9760e945de2aed6eb362c2bd18fcfd9 (diff) | |
tests: initialize parent test namespace too
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/topogen.py')
| -rw-r--r-- | tests/topotests/lib/topogen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/topotests/lib/topogen.py b/tests/topotests/lib/topogen.py index 646b284ef6..ff2cc83268 100644 --- a/tests/topotests/lib/topogen.py +++ b/tests/topotests/lib/topogen.py @@ -214,6 +214,9 @@ class Topogen(object): self.net = Mininet() + # Adjust the parent namespace + topotest.fix_netns_limits(self.net) + # New direct way: Either a dictionary defines the topology or a build function # is supplied, or a json filename all of which build the topology by calling # Topogen methods which call Mininet(Micronet) methods to create the actual |
