Fix tests in CI 80/184380/6
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Tue, 17 Jul 2018 13:04:34 +0000 (15:04 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 1 Aug 2018 15:51:24 +0000 (17:51 +0200)
commit3b89d997a938237a8984f8f9188faa6414633308
tree82a552388205efd55e9b6bf25b162049f581f155
parent6d7b809ccd8188e3276bac50da65b2b1a2f18fb2
Fix tests in CI

It skips tests when information on current running user is unavailable.
Local IP address is retrieved by lookup of "localhost". IP addresses are
used instead of nil values.

Interface of uuid package has been changed so code using it has been
adapted.

Mock generated for stm.Interface has been updated.

Change-Id: Ide48575fa7a589c0cad00478898c2a651fda77d5
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
dryad/muxpi_mock_test.go
dryad/rusalka_test.go
dryad/user_test.go
tunnels/tunnels_test.go
workers/worker_list_test.go
workers/workers_test.go