Project

General

Profile

Feature #58057

cephfs-top: enhance fstop tests to cover testing displayed data

Added by Venky Shankar over 1 year ago. Updated 10 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Tags:
Backport:
reef,quincy,pacific
Reviewed:
Affected Versions:
Component(FS):
cephfs-top
Labels (FS):
qa
Pull request ID:

Description

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.

History

#1 Updated by Venky Shankar over 1 year ago

  • Assignee set to Jos Collin

#2 Updated by Milind Changire over 1 year ago

The Dashboard folks could point us to tools for testing console UI based apps.

#3 Updated by Jos Collin 10 months ago

  • Status changed from New to In Progress

#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.

Also available in: Atom PDF