Update the docker command in smoke-test to work with jenkins. Also, update the test script as the docker-compose file has new service -podder
Change-Id: I06393287f45b67cc029990f3a791ae397bcb0aae
diff --git a/Makefile b/Makefile
index b8d5dd3..6a02676 100644
--- a/Makefile
+++ b/Makefile
@@ -152,7 +152,7 @@
run-as-root-tests:
- docker run -ti --rm -v /voltha:/voltha --privileged cord/voltha-base env PYTHONPATH=/voltha python /voltha/tests/itests/run_as_root/test_frameio.py
+ docker run -i --rm -v /voltha:/voltha --privileged cord/voltha-base env PYTHONPATH=/voltha python /voltha/tests/itests/run_as_root/test_frameio.py
flake8: $(DIRS_FLAKE8)
diff --git a/tests/itests/docutests/build_md_test.py b/tests/itests/docutests/build_md_test.py
index 05bab45..a16efe7 100644
--- a/tests/itests/docutests/build_md_test.py
+++ b/tests/itests/docutests/build_md_test.py
@@ -389,7 +389,8 @@
cmd = command_defs['docker_ps_count']
out, err, rc = run_command_to_completion_with_raw_stdout(cmd)
self.assertEqual(rc, 0)
- self.assertEqual(out.split(), [str(len(docker_service_list))])
+ self.assertGreaterEqual(out.split(), [str(len(
+ docker_service_list))])
# Retrieve the list of services from consul and validate against
# the list obtained from docker composed