From a2c4ff0ebcbefcb61a4ba684baa67deb1fa363b5 Mon Sep 17 00:00:00 2001 From: twangboy Date: Tue, 20 Jun 2017 15:32:55 -0600 Subject: [PATCH] Don't run coverage it not admin --- tests/runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.py b/tests/runtests.py index a71db050d6..21c457a9b3 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -448,7 +448,7 @@ class SaltTestsuiteParser(SaltCoverageTestingParser): if self.options.coverage and any(( self.options.name, - is_admin, + not is_admin, not self.options.run_destructive)) \ and self._check_enabled_suites(include_unit=True): self.error(