From 1939016799ad6f4bd3ffb45e3eac960e6ab29111 Mon Sep 17 00:00:00 2001 From: Marcin Niesluchowski Date: Tue, 15 Apr 2014 13:54:01 +0200 Subject: [PATCH] Add SECURITY_SERVER_API_ERROR_NO_SUCH_SERVICE error check. Due to change in following commit in security-server repository another connection error has been added. -> 'Signalling attempt to access a non-existent service' Verification: -> security-tests.sh ss-api-speed --runignored --output=text Change-Id: I088117a163d34ab37aba4de4a193c39c5c1a0b25 --- tests/security-server-tests/security_server_measurer_API_speed.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/security-server-tests/security_server_measurer_API_speed.cpp b/tests/security-server-tests/security_server_measurer_API_speed.cpp index 4544db1..1b73c87 100644 --- a/tests/security-server-tests/security_server_measurer_API_speed.cpp +++ b/tests/security-server-tests/security_server_measurer_API_speed.cpp @@ -150,6 +150,7 @@ int my_pipe_write(int fd, void *buf, size_t count) { int communication_succeeded(int result_code) { switch(result_code) { + case SECURITY_SERVER_API_ERROR_NO_SUCH_SERVICE: case SECURITY_SERVER_API_ERROR_SOCKET: case SECURITY_SERVER_API_ERROR_BAD_REQUEST: case SECURITY_SERVER_API_ERROR_BAD_RESPONSE: -- 2.7.4