diff --git a/.travis.yml b/.travis.yml index 93c546933c..1b54c59995 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,9 @@ script: - "nosetests -v --with-cover --cover-package=sos --cover-html" - "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport --help" - "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport -l --config-file=sos.conf" - - "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport -n kernel --batch --config-file=sos.conf | tee batch_output" + - "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport --batch --config-file=sos.conf 2> errors | tee batch_output" + - "[[ ! -s errors ]]" + - "cat errors" + - "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport --batch --build --config-file=sos.conf" git: depth: 5 diff --git a/sos/sosreport.py b/sos/sosreport.py index 6337a0c88c..08cc8518cb 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -971,7 +971,7 @@ def collect(self): self.plugpool = ThreadPoolExecutor(self.opts.threads) # Pass the plugpool its own private copy of self.pluglist results = self.plugpool.map(self._collect_plugin, - list(self.pluglist), chunksize=1) + list(self.pluglist)) self.plugpool.shutdown(wait=True) for res in results: if not res: