cephfs-top: enhance fstop tests to cover testing displayed data
Right now the tests are pretty rudimentary. cephfs-top is a UI tool and writing tests can be a bit hard. Due to this developers have to manually test changes (post reviews) which can be error prone and frustrating. Enhance the fstop tests to introduce hooks to operate as a terminal script that dumps (JSON) data. This mode can then be utilized by tests to validate displayed data.
#4 Updated by Venky Shankar 10 months ago
- Target version changed from v18.0.0 to v19.0.0
- Backport changed from pacific,quincy to reef,quincy,pacific
Jos had a query regarding this - the idea is to dump (JSON) data which would otherwise be diplayed via ncurses so as to write tests that could validate various metric fields.