cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: updated refs/heads/pytest to b155b8a
Date Thu, 18 Sep 2014 21:16:38 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/pytest eedbe4fee -> b155b8aea


disable debug in xdist


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b155b8ae
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b155b8ae
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b155b8ae

Branch: refs/heads/pytest
Commit: b155b8aea2d0a886494841c4c549119b776191e3
Parents: eedbe4f
Author: Edison Su <sudison@gmail.com>
Authored: Thu Sep 18 14:16:13 2014 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Thu Sep 18 14:16:13 2014 -0700

----------------------------------------------------------------------
 tools/pytest-xdist/xdist/dsession.py | 4 ++--
 tools/pytest-xdist/xdist/remote.py   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b155b8ae/tools/pytest-xdist/xdist/dsession.py
----------------------------------------------------------------------
diff --git a/tools/pytest-xdist/xdist/dsession.py b/tools/pytest-xdist/xdist/dsession.py
index 1d6b17a..09886f3 100644
--- a/tools/pytest-xdist/xdist/dsession.py
+++ b/tools/pytest-xdist/xdist/dsession.py
@@ -209,8 +209,8 @@ class DSession:
     def __init__(self, config):
         self.config = config
         self.log = py.log.Producer("dsession")
-        #if not config.option.debug:
-        #    py.log.setconsumer(self.log._keywords, None)
+        if not config.option.debug:
+            py.log.setconsumer(self.log._keywords, None)
         self.shuttingdown = False
         self.countfailures = 0
         self.maxfail = config.getvalue("maxfail")

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b155b8ae/tools/pytest-xdist/xdist/remote.py
----------------------------------------------------------------------
diff --git a/tools/pytest-xdist/xdist/remote.py b/tools/pytest-xdist/xdist/remote.py
index 55c1610..8fbbe23 100644
--- a/tools/pytest-xdist/xdist/remote.py
+++ b/tools/pytest-xdist/xdist/remote.py
@@ -13,8 +13,8 @@ class SlaveInteractor:
         self.config = config
         self.slaveid = config.slaveinput.get('slaveid', "?")
         self.log = py.log.Producer("slave-%s" % self.slaveid)
-        #if not config.option.debug:
-        #    py.log.setconsumer(self.log._keywords, None)
+        if not config.option.debug:
+            py.log.setconsumer(self.log._keywords, None)
         self.channel = channel
         config.pluginmanager.register(self)
 


Mime
View raw message