-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The plan stability2 test fails sometimes locally with:
[jsTest] ---- -[jsTest] Found python 3.13 by default. Likely this is because we are using a virtual environment. +[jsTest] Found python 3.10 by default. Likely this is because we are using a virtual environment. [jsTest] ----
The reason is that in a golden test, print() and associated functions are redirected to write to the golden file. In ./jstests/libs/python.js , there is plenty of jstest.log.info calls whose output is also captured, but that output is variable and depends on the python version that is currently in effect.
The solution is to make it so that the output of python.js is not captured for the purposes of golden testing. Maybe use `jstest.log.debug` or something like that?