Skip to content

Commit c53a42d

Browse files
committed
nightly benchy: try again to fix invocation of ProfileResults
1 parent 5b6a673 commit c53a42d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/python/benchUtil.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import time
2828
import traceback
2929
import types
30+
import shlex
3031
from shutil import which
3132

3233
import common
@@ -1910,10 +1911,10 @@ def profilerOutput(javaCommand, jfrOutput, checkoutPath, profilerCount, profiler
19101911
f"-Dtests.profile.mode={mode}",
19111912
f"-Dtests.profile.count={profilerCount}",
19121913
f"-Dtests.profile.stacksize={stackSize}",
1913-
"org.apache.lucene.gradle.ProfileResults",
1914+
"org.apache.lucene.gradle.plugins.java.ProfileResults",
19141915
jfrOutput,
19151916
]
1916-
print(f"profile command: {profileCommand}")
1917+
print(f"profile command: {' '.join([shlex.quote(x) for x in profileCommand])}")
19171918
try:
19181919
result = subprocess.run(profileCommand, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, check=True)
19191920
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)