summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorJing Peng <pj.hades@gmail.com>2022-04-08 14:19:32 -0400
committerDamjan Marion <dmarion@me.com>2022-04-11 10:07:19 +0000
commitc520dcb49fa07d30de4944344b66fc325b44f17d (patch)
tree20d1d85252da29e9e7123b23112dc5e4c2ac7f3c /src/vnet
parentc73984a0fcc8229e698c315524067e8aa3673b48 (diff)
tests: fix bihash unittest error reporting
This patch fixes test_bihash_unittest in two ways: 1. The number of searches, namely tm->search_iter, defaults to 0, thus disabling the test. This patch changes the default to 1. 2. Test errors are reported by clib_warning() instead of being returned, thus the caller test/test_bihash.py is never aware of them. This patch returns the errors constructed by clib_error_return(). Type: fix Signed-off-by: Jing Peng <pj.hades@gmail.com> Change-Id: I60e99a829ebe6aa2a56e7a9332cf973afa100311
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions