summaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test/tests')
-rw-r--r--test/afb-test/tests/mapi_tests.lua6
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)