diff options
-rw-r--r-- | meta/lib/oeqa/runtime/cases/apt.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/cases/dnf.py | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/cases/opkg.py | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/cases/apt.py b/meta/lib/oeqa/runtime/cases/apt.py index 74a940d80f..c5378d90c3 100644 --- a/meta/lib/oeqa/runtime/cases/apt.py +++ b/meta/lib/oeqa/runtime/cases/apt.py | |||
@@ -22,7 +22,9 @@ class AptRepoTest(AptTest): | |||
22 | @classmethod | 22 | @classmethod |
23 | def setUpClass(cls): | 23 | def setUpClass(cls): |
24 | service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], 'all') | 24 | service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], 'all') |
25 | cls.repo_server = HTTPService(service_repo, cls.tc.target.server_ip, logger=cls.tc.logger) | 25 | cls.repo_server = HTTPService(service_repo, |
26 | '0.0.0.0', port=cls.tc.target.server_port, | ||
27 | logger=cls.tc.logger) | ||
26 | cls.repo_server.start() | 28 | cls.repo_server.start() |
27 | 29 | ||
28 | @classmethod | 30 | @classmethod |
diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py index de3759995e..f40c63026e 100644 --- a/meta/lib/oeqa/runtime/cases/dnf.py +++ b/meta/lib/oeqa/runtime/cases/dnf.py | |||
@@ -53,7 +53,8 @@ class DnfRepoTest(DnfTest): | |||
53 | @classmethod | 53 | @classmethod |
54 | def setUpClass(cls): | 54 | def setUpClass(cls): |
55 | cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-testimage-repo'), | 55 | cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-testimage-repo'), |
56 | cls.tc.target.server_ip, logger=cls.tc.logger) | 56 | '0.0.0.0', port=cls.tc.target.server_port, |
57 | logger=cls.tc.logger) | ||
57 | cls.repo_server.start() | 58 | cls.repo_server.start() |
58 | 59 | ||
59 | @classmethod | 60 | @classmethod |
diff --git a/meta/lib/oeqa/runtime/cases/opkg.py b/meta/lib/oeqa/runtime/cases/opkg.py index 750706161b..9cfee1cd88 100644 --- a/meta/lib/oeqa/runtime/cases/opkg.py +++ b/meta/lib/oeqa/runtime/cases/opkg.py | |||
@@ -25,7 +25,9 @@ class OpkgRepoTest(OpkgTest): | |||
25 | if cls.tc.td["MULTILIB_VARIANTS"]: | 25 | if cls.tc.td["MULTILIB_VARIANTS"]: |
26 | allarchfeed = cls.tc.td["TUNE_PKGARCH"] | 26 | allarchfeed = cls.tc.td["TUNE_PKGARCH"] |
27 | service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_IPK'], allarchfeed) | 27 | service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_IPK'], allarchfeed) |
28 | cls.repo_server = HTTPService(service_repo, cls.tc.target.server_ip, logger=cls.tc.logger) | 28 | cls.repo_server = HTTPService(service_repo, |
29 | '0.0.0.0', port=cls.tc.target.server_port, | ||
30 | logger=cls.tc.logger) | ||
29 | cls.repo_server.start() | 31 | cls.repo_server.start() |
30 | 32 | ||
31 | @classmethod | 33 | @classmethod |