diff --git a/test/pylib/resource_gather.py b/test/pylib/resource_gather.py index efa6759083..09aee0eba7 100644 --- a/test/pylib/resource_gather.py +++ b/test/pylib/resource_gather.py @@ -119,7 +119,7 @@ class ResourceGather(ABC): pass def put_process_to_cgroup(self) -> None: - os.setsid() + pass def get_test_metrics(self) -> Metric: pass @@ -197,7 +197,6 @@ class ResourceGatherOn(ResourceGather): self.sqlite_writer.write_row(metrics, METRICS_TABLE) def put_process_to_cgroup(self) -> None: - super().put_process_to_cgroup() try: pid = os.getpid() with open(self.cgroup_path / 'cgroup.procs', "a") as cgroup: diff --git a/test/pylib/scylla_cluster.py b/test/pylib/scylla_cluster.py index 429a5bc866..d6d115541e 100644 --- a/test/pylib/scylla_cluster.py +++ b/test/pylib/scylla_cluster.py @@ -823,7 +823,6 @@ class ScyllaServer: stderr=self.log_file, stdout=self.log_file, env=env, - preexec_fn=os.setsid, ) if expected_server_up_state == ServerUpState.PROCESS_STARTED: