diff options
author | 2018-04-19 14:58:38 +0100 | |
---|---|---|
committer | 2018-04-27 08:25:44 +0000 | |
commit | 099108aab37d1fae1b27f4e2e20136c234df1a52 (patch) | |
tree | c030dcb389a894a9902b1c5c62086131fa8470fb /api/database | |
parent | b338d3091bb0beb89d4ad9f7c144f43a31a19a74 (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>
Diffstat (limited to 'api/database')
0 files changed, 0 insertions, 0 deletions