summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-23 11:02:37 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-23 12:59:47 -0400
commit2093cc623afeaf1cd11fbb8e6f6430c46bd4bd8a (patch)
treeebb2ebaee89c1748ad3339e7139c72b53846545a
parent8ba7b4845ba747f534f60432a4f9ce19027f30e7 (diff)
downloadmongo-2093cc623afeaf1cd11fbb8e6f6430c46bd4bd8a.tar.gz
SERVER-40775 free_mon.js test should use python in PATH on Windows
-rw-r--r--jstests/free_mon/libs/free_mon.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/jstests/free_mon/libs/free_mon.js b/jstests/free_mon/libs/free_mon.js
index 6210f58cbf9..52de6a22921 100644
--- a/jstests/free_mon/libs/free_mon.js
+++ b/jstests/free_mon/libs/free_mon.js
@@ -28,12 +28,7 @@ class FreeMonWebServer {
this.fault_type = fault_type;
if (_isWindows()) {
- const paths = ["c:\\python37\\python.exe", "c:\\python\\python37\\python.exe"];
- for (let p of paths) {
- if (fileExists(p)) {
- this.python = p;
- }
- }
+ this.python = "python.exe";
}
print("Using python interpreter: " + this.python);