Open svenkata9 opened 2 years ago
+1
+1
Looks like it's a problem with subprocess.Popen init signature which differs between python versions. You can try to patch benchrun.py on line 232:
diff --git a/benchrun.py b/benchrun.py
index e1f7153..b634dd4 100644
--- a/benchrun.py
+++ b/benchrun.py
@@ -229,7 +229,7 @@ def main():
# Open a mongo shell subprocess and load necessary files.
mongo_proc = Popen([args.shellpath, "--norc", "--quiet", js_file.name,
"--host", args.hostname, "--port", args.port] + auth,
- stdout=PIPE, text=True)
+ stdout=PIPE, universal_newlines=True)
# Read test output.
readout = False
I am hitting the below error when I am executing the test. Any help would be appreciated.