diff options
author | ndarshan <dnarayan@redhat.com> | 2014-03-17 12:21:42 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-29 10:14:32 +0530 |
commit | 686b574d3c1e55a778088b58a1a2fc75ce72d280 (patch) | |
tree | 89e6335b46c42dcea1c66e80cd7500059856ffd5 /tests/getLatestStat_exception.xml | |
parent | fcf78fd752dd24a8bb8b0bf8f62e7ba7ec0aac55 (diff) |
plugins:Fix to handle sadf not accepting time range, test case addition
This patch handles the issue of sadf not accepting time range
when used with -x (xml output) option(seen in version 9.0.4).
Added unit-test for memory, cpu, swap, network plugins and
refactored them.
Change-Id: Ie7c2ecfbb38060f236a6faed606bce0aedd27d7a
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/14
Reviewed-by: Bala FA <barumuga@redhat.com>
Tested-by: Bala FA <barumuga@redhat.com>
Diffstat (limited to 'tests/getLatestStat_exception.xml')
-rw-r--r-- | tests/getLatestStat_exception.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/getLatestStat_exception.xml b/tests/getLatestStat_exception.xml new file mode 100644 index 0000000..fe96c46 --- /dev/null +++ b/tests/getLatestStat_exception.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE sysstat PUBLIC "DTD v2.16 sysstat //EN" +"http://pagesperso-orange.fr/sebastien.godard/sysstat-2.16.dtd"> +<sysstat> + <sysdata-version>2.16</sysdata-version> + <host nodename="localhost.localdomain"> + <sysname>Linux</sysname> + <release>3.13.6-200.fc20.x86_64</release> + <machine>x86_64</machine> + <number-of-cpus>4</number-of-cpus> + <file-date>2014-03-19</file-date> + <restarts> + </restarts> + </host> +</sysstat> |