summaryrefslogtreecommitdiff
path: root/app/test/test_event_timer_adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_event_timer_adapter.c')
-rw-r--r--app/test/test_event_timer_adapter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/test/test_event_timer_adapter.c b/app/test/test_event_timer_adapter.c
index a45b7d1..d4b78e0 100644
--- a/app/test/test_event_timer_adapter.c
+++ b/app/test/test_event_timer_adapter.c
@@ -1015,8 +1015,8 @@ adapter_start(void)
TEST_ASSERT_SUCCESS(_timdev_setup(180 * NSECPERSEC,
NSECPERSEC / 10),
"Failed to start adapter");
- TEST_ASSERT_SUCCESS(rte_event_timer_adapter_start(timdev),
- "Failed to repeatedly start adapter");
+ TEST_ASSERT_EQUAL(rte_event_timer_adapter_start(timdev), -EALREADY,
+ "Timer adapter started without call to stop.");
return TEST_SUCCESS;
}