Fix TestIPv4FibCrud interdependencies. 04/16504/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Sun, 16 Dec 2018 22:52:36 +0000 (14:52 -0800)
committerOle Trøan <otroan@employees.org>
Mon, 17 Dec 2018 10:14:12 +0000 (10:14 +0000)
commit4eed7474f4fba7193ba342fb29c6ec1d73aef909
tree7c6553af00866c212fc38dcb960e0eb38e23aaf5
parent8f554b793c68fd5271334bf0e167dabc4c9ac73d
Fix TestIPv4FibCrud interdependencies.

The tests fail if run independently or out of order.
This change breaks the dependency between the tests.

ERROR: Add 1k routes
------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/vpp/test/test_ip4.py", line 514, in test_3_add_new_routes
    self.deleted_routes.remove(x)
ValueError: list.remove(x): x not in list

Change-Id: I344ceba6bd8b86556f92e50080be6c43092b9faf
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/test_ip4.py