X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_vlib.py;h=31fb72990f054f3343f07c823efb0f4edc4d12e2;hb=4de5f9be88857197ddf17e3bff66318f78f4b6bb;hp=a9a5f6aeb891500b5152aea6afc6e1d3ed754736;hpb=0b0d28e9bf1ea078ce1a846d22e499d13eadd464;p=vpp.git diff --git a/test/test_vlib.py b/test/test_vlib.py index a9a5f6aeb89..31fb72990f0 100644 --- a/test/test_vlib.py +++ b/test/test_vlib.py @@ -204,6 +204,19 @@ class TestVlib(VppTestCase): time.sleep(70) self.logger.info("Reaper should be complete...") + def test_pool(self): + """ Fixed-size Pool Test """ + + cmds = ["test pool", + ] + + for cmd in cmds: + r = self.vapi.cli_return_response(cmd) + if r.retval != 0: + if hasattr(r, 'reply'): + self.logger.info(cmd + " FAIL reply " + r.reply) + else: + self.logger.info(cmd + " FAIL retval " + str(r.retval)) if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)