diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2019-04-09 17:52:22 +0200 |
---|---|---|
committer | Frédéric Marec <frederic.marec@iot.bzh> | 2019-11-26 13:44:25 +0000 |
commit | eb4d2471f1609e217b2a3a919eeb7d76ca1c7417 (patch) | |
tree | 0be9335d9d15bce09d1c787abb21d8022e4485db /test/afb-test/tests/mapi_tests.lua | |
parent | 46d1948f5a4b46d9e2424dd56fede1720167c580 (diff) |
Fix event management in test frameworkhalibut_8.0.5halibut_8.0.4halibut/8.0.5halibut/8.0.48.0.58.0.4
Fix event receive
Fix event not receive
Fix lockwait event
Remove trailing indentation
Bug-AGL: SPEC-2374
Change-Id: Ie64b23c242bc13dcf7af96ff3ed2316bf6cad5f7
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
(cherry picked from commit 5c3503e35c1b883e97ed6874f7683d0a7b5938b7)
Diffstat (limited to 'test/afb-test/tests/mapi_tests.lua')
-rw-r--r-- | test/afb-test/tests/mapi_tests.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/afb-test/tests/mapi_tests.lua b/test/afb-test/tests/mapi_tests.lua index e8cf142..2007c85 100644 --- a/test/afb-test/tests/mapi_tests.lua +++ b/test/afb-test/tests/mapi_tests.lua @@ -34,12 +34,12 @@ end) _AFT.describe("testLockWait",function() - local evt1 = "low-can/messages_engine_speed" + local evt1 = "low-can/messages_engine" + local evt2 = "low-can/messages_engine_not_receive" local timeout = 2000000 _AFT.addEventToMonitor(evt1) local start = os.time() * 1000000 - _AFT.assertEvtNotReceived(evt1, timeout) + _AFT.assertEvtNotReceived(evt2, timeout) local stop = os.time() * 1000000 - _AFT.assertIsTrue( (stop - start) >= timeout, "Timeout not reached, LockWait feature is not working." ) end, nil, nil) |