we have an example at:
"lepv/app/tests/profilers/cpu/GetProcLoadavg/stabilityTests.py"
the idea is to ensure that:
- a profiler method can talk to a live LEPD server ( say, rmlink.cn ), and get the response.
- the profiler can parse the response, organize it in a structured way.
- 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.
we have an example at:
"lepv/app/tests/profilers/cpu/GetProcLoadavg/stabilityTests.py"
the idea is to ensure that: