From d1d008881304e7b310ead5968fee2e1dd4783789 Mon Sep 17 00:00:00 2001 From: Pawel Kubik Date: Fri, 25 Sep 2015 14:10:29 +0200 Subject: [PATCH] Fixed dbus testing container configuration. [Feature] Fix [Cause] Zone stopped immediately after start. [Solution] Added sleep-loop to prevent zone from stopping. [Verification] Build (best under CCOV config), install, run: sudo vsm_launch_test.py vasum-server-unit-tests \ -t 'ZoneSuite/DbusConnection' Change-Id: I1ffc9eb047f08173314c16c60ef505f0d81c11c6 --- tests/unit_tests/configs/templates/console-dbus.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/configs/templates/console-dbus.conf.in b/tests/unit_tests/configs/templates/console-dbus.conf.in index 2dee28b..8ab8b98 100644 --- a/tests/unit_tests/configs/templates/console-dbus.conf.in +++ b/tests/unit_tests/configs/templates/console-dbus.conf.in @@ -1,6 +1,6 @@ { "zoneTemplate" : "minimal.sh", - "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; /bin/dbus-daemon --config-file=@VSM_TEST_CONFIG_INSTALL_DIR@/dbus/ut-dbus-system.conf --fork"], + "initWithArgs" : ["/bin/bash", "-c", "trap exit SIGTERM; /bin/dbus-daemon --config-file=@VSM_TEST_CONFIG_INSTALL_DIR@/dbus/ut-dbus-system.conf --fork; while true; do sleep 0.1; done"], "requestedState" : "running", "ipv4Gateway" : "", "ipv4" : "", -- 2.7.4