Skip to content

Commit

Permalink
[pylibs] narrow test topology to avoid spurious test fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
EskoDijk committed Jun 24, 2024
1 parent b990d29 commit b182dec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pylibs/unittests/test_border_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ def testBorderRouterDistributesOmrPrefix(self):
ns = self.ns
ns.radiomodel = 'MIDisc' # force line topology

nid = ns.add('br', x=100, y=100)
ns.add('br', x=100, y=100)
ns.go(10)

ns.add('router', x=300, y=100)
ns.add('router', x=250, y=100)
ns.go(10)

ns.add('fed', x=500, y=100)
ns.add('fed', x=400, y=100)
ns.go(80)

ns.ping(3,1,addrtype='slaac',count=4)
Expand All @@ -63,6 +63,5 @@ def testBorderRouterDistributesOmrPrefix(self):
pings = ns.pings()
self.assertTrue(len(pings) == 8)


if __name__ == '__main__':
unittest.main()

0 comments on commit b182dec

Please sign in to comment.