summaryrefslogtreecommitdiff
path: root/test/initial_event_tests/initial_event_test_stop_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/initial_event_tests/initial_event_test_stop_service.cpp')
-rw-r--r--test/initial_event_tests/initial_event_test_stop_service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/initial_event_tests/initial_event_test_stop_service.cpp b/test/initial_event_tests/initial_event_test_stop_service.cpp
index cd8a34a..a17e0d8 100644
--- a/test/initial_event_tests/initial_event_test_stop_service.cpp
+++ b/test/initial_event_tests/initial_event_test_stop_service.cpp
@@ -34,8 +34,8 @@ public:
stop_thread_(std::bind(&initial_event_test_stop_service::wait_for_stop, this)),
called_other_node_(false) {
if (!app_->init()) {
- VSOMEIP_ERROR << "Couldn't initialize application";
- EXPECT_TRUE(false);
+ ADD_FAILURE() << "Couldn't initialize application";
+ return;
}
app_->register_state_handler(
std::bind(&initial_event_test_stop_service::on_state, this,