- 04 9月, 2014 5 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado: Add NullHandler for early 'avocado.test' logger
-
由 Lucas Meneghel Rodrigues 提交于
So we avoid those annoying 'no handlers found for avocado.test' during test. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Makefile: Add 'make check'
-
由 Lucas Meneghel Rodrigues 提交于
One convenient command to run the checks Travis runs on the code base (less verbose version). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Refactoring unique job ID generation
-
- 03 9月, 2014 35 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Validate job ID
-
由 Ademar de Souza Reis Jr 提交于
The previous implementation was mixing non-random information with random data before applying a hash on top of everything. Given that, we couldn't use the hash later to validate the information and the entropy was limited to 64 bits, which was the random part. So I've got rid of the sha1 code and just used a 160 random number. A future improvement would be the use a random number in the first part of the ID (a salt) and a hash of relevant information in the second part. In pseudo-code: info = hostname, date, list of tests, etc salt = str(hex(getrandbits(120)))[[2:-1] hash = sha1(info).hexdigest()[:10] return salt+hash Includes a functional test to check the ID is indeed a 40 digit hex number. Signed-off-by: NAdemar de Souza Reis Jr <areis@redhat.com>
-
由 Ademar de Souza Reis Jr 提交于
The name get_job_id() doesn't reflect the fact that this function returns a new job ID everytime it's called.
-
由 Ademar de Souza Reis Jr 提交于
Job ID needs to be a 40 digit hex number. Error out if it's not. Includes functional tests Signed-off-by: NAdemar de Souza Reis Jr <areis@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado: Bumping version to 0.11.2
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado: Sanitize namespace
-
由 Lucas Meneghel Rodrigues 提交于
avocado.spec: Add Fabric dependency
-
由 Lucas Meneghel Rodrigues 提交于
It is not necessary to internally import the libraries like we've been doing so far. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
It is a necessary dependency of avocado. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Virt test fixes
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So that when we use io.log_line, files get written to the appropriate test log locations. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add aexpect, a near exact copy of the code that has been used by virt-test for a long time. It is a library for controlling interactive process, similar to pexpect, but with some additional properties: * Programs may stay alive between tests and jobs * More sophisticated class structure Signed-off-by: Lucas Menghel Rodrigues
-
由 Lucas Meneghel Rodrigues 提交于
Add string manipulation APIs to the avocado.utils namespace. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a library for functions with the same pattern: wait for another function to evaluate to True, for a certain amount of time. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So that we can do things such as killing an entire process tree, necessary for aexpect functionality. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So we can introduce aexpect. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
To avoid a few oddities inside avocado code. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
ctrl+c fixes
-
由 Ademar de Souza Reis Jr 提交于
Also improve its documentation, explaining that users should not use this option unless they know exactly what they're doing Signed-off-by: NAdemar de Souza Reis Jr <areis@redhat.com>
-
由 Ademar de Souza Reis Jr 提交于
Ctrl+C was aborting the current test, but avocado would keep looping through the list provided in the command line.
-
由 Rudá Moura 提交于
multiplexer misc commits
-
由 Ademar de Souza Reis Jr 提交于
s/TestTimeoutError/TestInterruptedError/
-
由 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 提交于
We frequently need to generate data for framework or testing purposes. Introducing data_factory, a library dedicated to this purpose. With this, we can make other parts of avocado to use it and supersede old functions used on this regard. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Ademar de Souza Reis Jr 提交于
This is the tree we've been using in several of our discussions and algorithm simulations.
-
由 Ademar de Souza Reis Jr 提交于
Rename them from filter_out and filter_only to filter-out and filter-only, respectively. Motivation: consistent with original RFC and easier to the eyes, specially when new filter keywords get added (filter-depth, filter-value, etc).
-
由 Lucas Meneghel Rodrigues 提交于
manpage: update based on recent command line and plugin changes
-
由 Cleber Rosa 提交于
avocado.plugins: Fix bug 'Namespace' object has no attribute
-