- 12 6月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Set up the TestResultProxy for the Job object, and populate the test result objects according to what the currently active plugins set. This means we go on finding arguments with the suffix _result and selecting any values that are classes derived from TestResult and appending them to the result proxy. With this, we can use any number of test result plugins we'd like. If no test result objects are set by plugins, fall back to the human output plugin. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Create a class that has the same interface as a test result, but in fact has a list of test result objects and can write to each of them any time a test result operation is called. This is the first step to make multiple output plugins to work. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 11 6月, 2014 8 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a timeout test module for avocado, to exercise the test timeout functionality. This test is supposed to fail by timeout. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to ensure avocado tests won't mess with the main avocado process' environment, execute them in forked subprocesses. If the test params have a 'timeout' attribute, use it as the timeout param of the .join() multiprocess method, allowing the subprocesses to be killed after timeout seconds if they did not complete. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to serialize the CmdError class, we need to allow passing None command and CmdResult objects to the class constructor. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to make the Test class serializable, implement __getstate__ in a way that only exports the pickleable attributes. This will be necessary for the following patches that will insulate individual test executions in forked processes. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Intended to be used in the special case a test times out. Also, explain better what a TestError is supposed to be (right now the description causes confusion). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 10 6月, 2014 9 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.utils: Small unused variable fixes
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.utils.remote: Add conenction timeout and attempts and remote_capable
-
由 Rudá Moura 提交于
Messages
-
由 Lucas Meneghel Rodrigues 提交于
We should use the absolute path when transfering the file from the vm, and the basename only when assembling the local path. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Rather than using the current working dir, which is more fragile than we'd like due to the fact that tests can change avocado environment (another bug that has come to our attention). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
We should avoid surprises made by misbehaved tests changing the cwd directory and not setting it back, making cwd() to point to an invalid dir. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Provide the full output of the avocado execution, so we understand better what was the actual failure. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Yet another useful functional test for avocado functionality. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 6月, 2014 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.utils.virt: Be quiet if libvirt is not present
-
由 Rudá Moura 提交于
Add options to control remote timeout and the number of attempts to connect. Add 'remote_capable' feature. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Avoid to print message that libvirt is not installed, just disable "run_vm plugin" and stop polluting the output. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 07 6月, 2014 11 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
avocado.core.output: Fix incorrect exception handling in get_paginator()
-
由 Rudá Moura 提交于
Fix syslog bug
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So we actually log the messages file. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In very restricted systems, it will not be available. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The actual exception we're throwing in process.find_command is process.CmdNotFoundError. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.core.data_dir: Expand ~ to user's home
-
由 Rudá Moura 提交于
When reading paths, expand paths that begins with ~ to user's home directory, like shell expansion do. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The actual exception we're throwing in process.find_command is process.CmdNotFoundError. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 06 6月, 2014 7 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.tests: Add new test "fiotest".
-
由 Rudá Moura 提交于
avocado.test: If main test action fails, cleanup still needs to be execu...
-
由 Lucas Meneghel Rodrigues 提交于
So we don't incur in the bug we just fixed. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This was quite the brown paper bag bug I made: If the main action fails, we need to call cleanup() no matter what. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
tests: Add trinity wrapper
-
由 Rudá Moura 提交于
Fix xunit bug
-
由 Lucas Meneghel Rodrigues 提交于
Trinity is a popular linux system call wrapper http://codemonkey.org.uk/projects/trinity/ By implementing it we noticed a number of shortcomings with avocado that have to be fixed in order to provide a smoother developer experience. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-