diff options
author | daniel <dc443y@att.com> | 2017-10-04 10:09:37 -0500 |
---|---|---|
committer | daniel <dc443y@att.com> | 2017-10-05 15:41:22 -0500 |
commit | 1c2dcbb8e38fe1e3f3271dade73a7b3a7c3a64b5 (patch) | |
tree | 7c4bc5438a3bf61d28cfdf3b18a9d7c4c233f0d1 /controlloop/templates/template.demo.v1.0.0/template.demo/src/test/resources | |
parent | 9f789fa6c2d9d58685c1e20eaf3216f45deee5e7 (diff) |
Fix JUnit Race Conditions
This fix now implements the observer pattern for the
PolicyEngineJUnitImpl so that the test cases can be
notified when an event is available to be pulled.
This eliminates the need to sleep the thread for
some arbitrary time to let the rules process events.
Issue-ID: POLICY-291
Change-Id: I884c959c20b95a1b58f357602099d8a01c8d2e3c
Signed-off-by: Daniel Cruz <dc443y@att.com>
Diffstat (limited to 'controlloop/templates/template.demo.v1.0.0/template.demo/src/test/resources')
0 files changed, 0 insertions, 0 deletions