Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test-backend: Use fork method for multiprocessing.
Anders Kaseorgce2c9c2dc456
diff --git a/tools/test-backend b/tools/test-backendindex 41d882f3fe1..4666923a974 100755--- a/tools/test-backend+++ b/tools/test-backend@@ -3,6 +3,7 @@import argparseimport contextlibimport glob+import multiprocessingimport osimport shleximport subprocess@@ -17,6 +18,8 @@ if TYPE_CHECKING:# We can only import this when type checking.from zerver.lib.test_runner import Runner+multiprocessing.set_start_method("fork")+TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))os.chdir(os.path.dirname(TOOLS_DIR))sys.path.insert(0, os.path.dirname(TOOLS_DIR))