Skip to content

Commit 337cc4e

Browse files
committed
CpsScriptTest: methodTooLargeExceptionRealistic(): expect updated wording for logged message
Signed-off-by: Jim Klimov <[email protected]>
1 parent 82edfc1 commit 337cc4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/test/java/org/jenkinsci/plugins/workflow/cps/CpsScriptTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void evaluateShallSandbox() throws Exception {
168168
r.assertLogContains("MethodTooLargeException", b);
169169

170170
// "Prettier" explanation added by CpsFlowExecution.parseScript():
171-
r.assertLogContains("FAILED to parse WorkflowScript due to MethodTooLargeException", b);
171+
r.assertLogContains("FAILED to parse WorkflowScript (the pipeline script) due to MethodTooLargeException", b);
172172

173173
/*
174174
// Report as of release 3880.vb_ef4b_5cfd270 (Feb 2024)

0 commit comments

Comments
 (0)