Skip to content

Get the stability test ready #74

@macxu

Description

@macxu

we have an example at:

"lepv/app/tests/profilers/cpu/GetProcLoadavg/stabilityTests.py"

the idea is to ensure that:

  1. a profiler method can talk to a live LEPD server ( say, rmlink.cn ), and get the response.
  2. the profiler can parse the response, organize it in a structured way.
  3. the structure confirm to our expected way, to be specific:
  • ensure expected properties are in place.
  • ensure some properties are of the expected type ( int, float, percent, enum etc ).
  • ensure we can get the expected result 50 times in a row without any error. ( this is vital )
  • log the elapsed time for each call, making sure it is reasonable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions