diff options
| author | Mark Goddard <mark@stackhpc.com> | 2018-09-21 12:29:40 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2018-09-21 14:55:58 +0100 |
| commit | 71d8fb478a7a89ad816f6636945f99e30353b10b (patch) | |
| tree | ceb56785e56db2fadf06a8d78ac49b27f9d92f33 /tests | |
| parent | 796d421bad78b2c51ab92529b956f3a15c054f1d (diff) | |
| download | kolla-71d8fb478a7a89ad816f6636945f99e30353b10b.tar.gz kolla-71d8fb478a7a89ad816f6636945f99e30353b10b.zip | |
Disable debug logs for image builds
Logs emitted when building via the tox environments can exceed the
maximum length supported by subunit [1], causing the following message:
Length too long: <length>
This change disables debug logging in these tox environments to reduce
the length of the output.
[1]
https://github.com/testing-cabal/subunit/blob/8cdd703980c314dddf95cc0556f67bc80358ddcd/python/subunit/v2.py#L208
Change-Id: Icb5793a8ea58edafe2f3a249eb1da7d4ae2e395f
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index 91be9a5d1..7c4c7dea2 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -39,7 +39,7 @@ class BuildTest(object): if self.threads < 4: self.threads = 4 - self.build_args = [__name__, "--debug", '--threads', str(self.threads)] + self.build_args = [__name__, '--threads', str(self.threads)] @testtools.skipUnless(os.environ.get('DOCKER_BUILD_TEST'), 'Skip the docker build test') |
