diff options
author | 2018-07-04 08:50:48 +0100 | |
---|---|---|
committer | 2018-07-04 12:42:40 +0100 | |
commit | 84f1e1ffa656b384338019a2c7052c8872b0e1c1 (patch) | |
tree | 35cfcc82b161936c35431dc97f1fc32b66cb3daa /model/utilities/src | |
parent | dd6627d723a23bada5721d5d7bd7121ebd0c3245 (diff) |
Fix test failure due to wait timeout
THe Avro and Java context integration tests waited for one second for APEX
to produce the output event to file before stopping APEX. This timeout is
usually fine. However, occasionally in the ONAP Jenkins build jobs, the
test ocassionally times out.
The tests are amended to wait for the file to exist and have content or for 10
seconds, whichever comes sooner.
Also consolidated two test classes into a single class and improved
temporary file handling.
Issue-ID: POLICY-905
Change-Id: I5e370353d2b627203e270cb6efeb560af7dc2acf
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'model/utilities/src')
0 files changed, 0 insertions, 0 deletions