Make tests independent from running Vasum server instance 62/38762/1
authorLukasz Kostyra <l.kostyra@samsung.com>
Mon, 27 Apr 2015 11:47:31 +0000 (13:47 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Tue, 28 Apr 2015 07:16:04 +0000 (09:16 +0200)
commit236d6e7e0cf238e0ed8f3cd507a749cb1beeae62
tree969eea60c7fba362d1329e7c29066312bff73a17
parent0091391085870ba5d68c77b50f2e63a89fd93e66
Make tests independent from running Vasum server instance

[Bug]           Running tests when Vasum server was up caused "Connection
                refused" error in vasum-cli.
[Cause]         Unit tests used vasum-ipc.socket, which overriden the
                connection between CLI and Vasum server.
[Solution]      Separate unit-tests IPC socket from Vasum server socket.
                Unit-tests now create and use their own socket:
                vasum-ipc-unit-tests.socket
[Verification]  Build, install, run Vasum service, run all tests.
                Ensure that CLI works after tests finish running.

Change-Id: Ic94500b743e990273361d85dffecfbe17ddc0347
CMakeLists.txt
client/CMakeLists.txt
server/CMakeLists.txt
tests/unit_tests/CMakeLists.txt