Tests: Cleanup @skip decorator.

The runnning environment is static as of module load time,
so only evalute the conditions once at module load time.

Track-by: VPP-1518

Change-Id: I73b0d17ae1ff90789e70307f168d43921829aec8
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2018-12-06 07:46:13 -08:00
committed by Ole Trøan
parent 57f170bdf9
commit defde0f870
16 changed files with 89 additions and 81 deletions

View File

@ -275,7 +275,7 @@ class TestIPv4Reassembly(VppTestCase):
# self.assert_packet_counter_equal(
# "/err/ip4-reassembly-feature/malformed packets", 1)
@unittest.skipIf(is_skip_aarch64_set() and is_platform_aarch64(),
@unittest.skipIf(is_skip_aarch64_set and is_platform_aarch64,
"test doesn't work on aarch64")
def test_random(self):
""" random order reassembly """