- 01 12月, 2016 1 次提交
-
-
由 Aihua Liang 提交于
sleep some seconds before check ballooned memory Signed-off-by: NAihua Liang <aliang@redhat.com>
-
- 16 11月, 2016 1 次提交
-
-
由 Aihua Liang 提交于
qemu.tests.balloon_check: 1.Optimize minimum ballooned size for windows guest 2.Optimize illegal test for windows guest 3.Seperate illegal as an individual cfg file 4.Compare windows guest's used memory for balloon check. 5.add function get_used_mem 6.modify the log info qemu.tests.balloon_service: 1.Optimize code for balloon_service test. qemu.tests.cfg.balloon_illegal: 1.add new cfg "balloon_illegal.cfg". 2.Adjust code for balloon_illegal test 3.Optimize code for windows's minimum balloon size qemu.tests.cfg.balloon_service: 1.Set ratio to 0.1 qemu.tests.cfg.balloon_check: 1.Set ratio to 0.1 Signed-off-by: NAihua Liang <aliang@redhat.com>
-
- 11 5月, 2016 1 次提交
-
-
由 Wei Jiangang 提交于
No need to call get_ballooned_memory() again after utils_misc.wait_for(lambda: compare_mem == self.get_ballooned_memory(),...) Signed-off-by: NWei Jiangang <weijg.fnst@cn.fujitsu.com>
-
- 14 3月, 2016 1 次提交
-
-
由 Xu Tian 提交于
Signed-off-by: NXu Tian <xutian@redhat.com>
-
- 13 1月, 2016 1 次提交
-
-
由 Xu Tian 提交于
Signed-off-by: NXu Tian <xutian@redhat.com>
-
- 21 9月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Clean up imports across the board in tp-qemu. The criteria followed was: 1) Remove unnecessary imports 2) Turn multi imports from a single entry point to one import per line. This increases both patch and source code readability. 3) Separate blocks of imports with a line: * Python standard library imports * Autotest imports * virttest imports * Internal tp-qemu imports 4) Remove try/except blocks refering autotest libs and stick with the virttest.staging copy This paves the way for the future removal of autotest references, replacing those references with avocado ones. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 17 2月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
The new pep8 adds W503 line break before %s check. This is mass style update of autotest framework without any actual changes. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 22 7月, 2014 1 次提交
-
-
由 Yiqiao Pu 提交于
Some subtest like reboot will cause memory inside guest ballooned from original value again. So need wait for the memory size inside guest adjust to the ballooned value again after the subtest finished. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
- 19 12月, 2013 1 次提交
-
-
由 Cleber Rosa 提交于
There's no need to have the name of the "run_<name>" method (main test entry point) depend on the test name. So, for simplicity sake, let's just name the test entry point "run". I have decided to not fallback gracefully to the previous naming convention as I believe this can lead to confusion in the future. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 16 12月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Here, the author called out to exit(), which is not the intended effect. The actual exit condition is `return`. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 08 11月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 10月, 2013 1 次提交
-
-
由 Yiqiao Pu 提交于
Now have two different class for Windows and Linux balloon test. Most of the functions in these classes are same and inherit from class BallooningTest. They have different error_report and get_memory_status. Also add some different method to set ballooned memory in cfg files. Now the ballooned memory size also can be set by a given value or a ratio base on the assign memory value. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
- 10 9月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Make virt-test to have a docstring style mostly compliant with the sphinx's [1] format, reStructured text. This means that we have to trade all '@' tags to be ':', mostly. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 9月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
With the help of the PEP8 script, a semi-automated clean of the code base was made, and effectively changing some of the coding style rules of our code base: * No more 2 lines spacing among functions * No more combined module imports In the end, it was going to be too difficult to take into consideration E501 (line length > 80) errors and W601 (.has_key() is deprecated), so these were ignored, at least for now. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 7月, 2013 1 次提交
-
-
由 Mike Qiu 提交于
The memory should be reset to the origin value after evict or enlarge. So that the next iterations tests can pass when check memory before test Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
- 06 6月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
Use monitor.protocol to detect QMP and other QMP monitor changes. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 09 5月, 2013 6 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Yiqiao Pu 提交于
This patch mainly does following improvements: Update the method to check memory from check different ways for different OS to check the memory change in the test which may works for both Windows and Linux. Add a param to check if run sub test to make the operation of separate evict and enlarge cases easier. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Confirm the memory status after sub tests from both monitor and inside guests. changes from v1: - error message update Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
This test script has no error context and test step, this patch adds them, and update some logging message. Changes from V2: * Update docstring and error context message. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Yiqiao Pu 提交于
Make the free memory check command configurable. changes from v1: - Add the Windows guest memory judge code as the value get from windows should charge with different method. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
- 04 4月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch benefits from the better error message when key is missing in config params. Instead of custom handling of missing param it uses params[] directly. I modified those params, where I was 100% certain that they are required and doesn't have default value: * val = params.get(..) followed by if not val: raise... * int(params.get(...)) * params.get(...).split() * commands which require string (eg. session.cmd(params.get(...))) I didn't test all the tests before and after in order to verify possible typos but I used pylint before and after, watching for new errors (code rate before and after). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 25 12月, 2012 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
As part of our changes from kvm -> qemu. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
A frequent request we've got from users is that the name 'kvm' makes assumptions that are not true for a lot of the use cases of the test suite. Then let's rename the subtest 'kvm' to 'qemu', making it more accurate. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 9月, 2012 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-