tests: Fix the FIB UT 68/35268/2
authorNeale Ranns <neale@graphiant.com>
Wed, 9 Feb 2022 13:30:37 +0000 (13:30 +0000)
committerDamjan Marion <dmarion@me.com>
Thu, 10 Feb 2022 17:27:04 +0000 (17:27 +0000)
commitf5756175e6296939c3d580c2120306ba28bab91b
tree726b313d3818d463dd2b3b35c18e960a9098e44a
parent791144cbc5587d64253f3d89b5d2f0ae3f6dfb0d
tests: Fix the FIB UT

Type: test

The FIB UT fails in debug mode because there is no string associated woth its fib_node_type_t.
Change the tests to register their own type, which will give it a name.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I36e546718faa7241c088494cbae10939aca51d5a
src/plugins/unittest/fib_test.c
src/vnet/fib/fib_node.h