Ran
|
Jobs
1
|
Files
10
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
Add support for batch processing * It's now possible to specify a batch_size and a batch_sleep parameters to define the size of a sliding batch and an optional sleep between hosts executions. * Refactored the BaseWorker (and the ClusterShellWorker accordingly) to avoid passing a lot of parameters to the execute() method, moving them to setters and getters with validation and default values, respectively. * Add state machine for a transport's node state. * Moved the environment block in the configuration file to the top level from within a specific transport. * ClusterShell: the batches behaves accordingly to the specified mode when multiple commands are specified: - sync: the first command is executed in a sliding batch until executed on all hosts or aborted due unmet success ratio. Then the execution of the second command will start if the success ratio is reached. - async: all the commands are executed in series in the first batch, and then will proceed with the next hosts with a sliding batch, if the success ratio is met. * Add CuminError exception and make all custom exceptions inherit from it to allow to easily catch only Cumin's exceptions. * Improves logging for backends and transport. * CLI: updated to use the batch functionality, use the transport return value as return code on exit. * Improves test coverage. Bug: T159968 Change-Id: I6544488f4
775 of 853 relevant lines covered (90.86%)
0.91 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 22.1 | 10 |
90.86 |
Travis Job 22.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|