diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-03-30 16:31:26 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2021-03-30 16:31:26 +0200 |
commit | 0d65bbb9619720ecc6bca1529acfb3a5239d9719 (patch) | |
tree | 32feba37ff8a9ea237b126d04b9f86eb2c4f8deb /resources/libraries/python | |
parent | 33f1fd4e8066802d596c2e59387a384788c21315 (diff) |
PAPI stats: Use list as argument to ls
In the VPP PAPI stats code, the "ls" argument has always [0]
been named "patterns", suggesting it expects a list of strings.
In the CSIT utility we have always [1] been using it wrong
(passing a single string), but it happened to work
as VPP code had a workaround [2] for that.
This workaround that got removed by accident in [3],
and will be reintroduced in [4].
This change fixes occasional failures in CSIT
(if merged sooner than [4]), mainly useful
in aviding such failures during bisection.
[0] https://gerrit.fd.io/r/c/vpp/+/14584/4/src/vpp-api/python/vpp_papi/vpp_stats.py#122
[1] https://gerrit.fd.io/r/c/csit/+/18419/13/resources/tools/papi/vpp_papi_provider.py#181
[2] https://gerrit.fd.io/r/c/vpp/+/14584/4/src/vpp-api/python/vpp_papi/vpp_stats.py#64
[3] https://gerrit.fd.io/r/c/vpp/+/31678
[4] https://gerrit.fd.io/r/c/vpp/+/31817
Change-Id: Ic0f9d906be064b386b67154ba738646c4362aa2b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python')
0 files changed, 0 insertions, 0 deletions