diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-04-19 14:58:38 +0100 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-06-22 17:38:15 +0000 |
commit | 745db76a4cc99a1597a3570ecdc063d549839a15 (patch) | |
tree | 2cf4cc77089632d9b6e9e2fdd65bea293f30a891 /tests/ci | |
parent | 2c77f9d9559b09299f8ef5cc3d07c847c685d79c (diff) |
Add active wait function
Added function "wait_until_true". This function will make an active
wait until the predicate passed as an argument returns True.
If the timeout expires, the function will raise a generic exception
or a user defined one passed as an argument.
This function will be used in YARDSTICK-1127.
JIRA: YARDSTICK-1128
Change-Id: I9854e465ac6b586bf4be39ab4b266d5625b39e30
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from 099108aab37d1fae1b27f4e2e20136c234df1a52)
Diffstat (limited to 'tests/ci')
0 files changed, 0 insertions, 0 deletions