You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 08:20:53 UTC

[buildstream] 23/33: WIP: pickle: comment out test_pickle in Job

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch aevri/picklable_jobs
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 8dfe58f93569774d68baa6fc1aaa250ee0e088a4
Author: Angelos Evripiotis <je...@bloomberg.net>
AuthorDate: Wed Apr 10 12:53:30 2019 +0100

    WIP: pickle: comment out test_pickle in Job
---
 src/buildstream/_scheduler/jobs/job.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/buildstream/_scheduler/jobs/job.py b/src/buildstream/_scheduler/jobs/job.py
index b50e3e1..6f76825 100644
--- a/src/buildstream/_scheduler/jobs/job.py
+++ b/src/buildstream/_scheduler/jobs/job.py
@@ -70,15 +70,15 @@ class Process(multiprocessing.Process):
     # pylint: disable=attribute-defined-outside-init
     def start(self):
 
-        e = self
-        print(e)
-        import buildstream.testpickle
+        # e = self
+        # print(e)
+        # import buildstream.testpickle
 
-        buildstream.testpickle.test_pickle(e, 1)
+        # buildstream.testpickle.test_pickle(e, 1)
 
-        for _ in range(10):
-            print('done test pickle', flush=True)
-        # raise Exception("We made it!")
+        # for _ in range(10):
+        #     print('done test pickle', flush=True)
+        # # raise Exception("We made it!")
 
         self._popen = self._Popen(self)
         self._sentinel = self._popen.sentinel