Skip to content

LDEV-5158 set initial capacity for sqltext when parsing #1374

LDEV-5158 set initial capacity for sqltext when parsing

LDEV-5158 set initial capacity for sqltext when parsing #1374

GitHub Actions / Lucee Test Results failed Nov 14, 2024 in 0s

1 fail, 225 skipped, 3 705 pass in 3m 3s

    1 files  ±0  1 482 suites  ±0   3m 3s ⏱️ -17s
3 931 tests ±0  3 705 ✅  - 1  225 💤 ±0  1 ❌ +1 
4 066 runs  ±0  3 804 ✅  - 1  261 💤 ±0  1 ❌ +1 

Results for commit aa44bf6. ± Comparison against earlier commit 66abc04.

Annotations

Check warning on line 0 in test.cache.EHCache

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

testCacheAsScope (test.cache.EHCache) failed

test/reports/junit-test-results-6.2.0.164-RC.xml [took 1s]
Raw output
Expected [{ts '2024-11-14 15:40:46'}] but received [{ts '2024-11-14 15:40:45'}]

					[{Raw_Trace={system.assertion_cfc$cf$1_10.udfCall1(/testbox/system/Assertion.cfc:17)}, codePrintPlain={15: 	function fail( message = "", detail = "" ){
16: 		arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
17: 		throw( type = "TestBox.AssertionFailed", message = arguments.message, detail = arguments.detail );
18: 	}
19: 
}, column={0}, line={17}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={15: &nbsp;&nbsp;&nbsp;function&nbsp;fail(&nbsp;message&nbsp;=&nbsp;&quot;&quot;,&nbsp;detail&nbsp;=&nbsp;&quot;&quot;&nbsp;){<br>
16: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.message&nbsp;=&nbsp;(&nbsp;len(&nbsp;arguments.message&nbsp;)&nbsp;?&nbsp;arguments.message&nbsp;:&nbsp;&quot;A&nbsp;test&nbsp;failure&nbsp;occurred&quot;&nbsp;);<br>
<b>17: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw(&nbsp;type&nbsp;=&nbsp;&quot;TestBox.AssertionFailed&quot;,&nbsp;message&nbsp;=&nbsp;arguments.message,&nbsp;detail&nbsp;=&nbsp;arguments.detail&nbsp;);</b><br>
18: &nbsp;&nbsp;&nbsp;}<br>
19: <br>
}}, {Raw_Trace={system.assertion_cfc$cf$1_10.udfCall1(/testbox/system/Assertion.cfc:70)}, codePrintPlain={68: 		);
69: 		// if we reach here, nothing is equal man!
70: 		fail( arguments.message );
71: 	}
72: 
}, column={0}, line={70}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={68: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
69: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;if&nbsp;we&nbsp;reach&nbsp;here,&nbsp;nothing&nbsp;is&nbsp;equal&nbsp;man!<br>
<b>70: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
71: &nbsp;&nbsp;&nbsp;}<br>
72: <br>
}}, {Raw_Trace={system.compat.framework.testcase_cfc$cf$1_u.udfCall2(/testbox/system/compat/framework/TestCase.cfc:186)}, codePrintPlain={184: 	*/
185: 	function assertEquals( required any expected, required any actual, message="" ){
186: 		this.$assert.isEqual( arguments.expected, arguments.actual, arguments.message );
187: 	}
188: 
}, column={0}, line={186}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/compat/framework/TestCase.cfc}, id={??}, type={cfml}, codePrintHTML={184: &nbsp;&nbsp;&nbsp;*/<br>
185: &nbsp;&nbsp;&nbsp;function&nbsp;assertEquals(&nbsp;required&nbsp;any&nbsp;expected,&nbsp;required&nbsp;any&nbsp;actual,&nbsp;message=&quot;&quot;&nbsp;){<br>
<b>186: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.$assert.isEqual(&nbsp;arguments.expected,&nbsp;arguments.actual,&nbsp;arguments.message&nbsp;);</b><br>
187: &nbsp;&nbsp;&nbsp;}<br>
188: <br>
}}, {Raw_Trace={cache.ehcache_cfc$cf$1_d.udfCall(/test/cache/EHCache.cfc:115)}, codePrintPlain={113: 		local.sct=evaluate(result.filecontent);
114: 		loop list="client,session" item="scp" {
115: 			assertEquals(sct[scp].lastvisit&"",sct[scp].timecreated&"");
116: 		}
117: 
}, column={0}, line={115}, template={/home/runner/work/Lucee/Lucee/test/cache/EHCache.cfc}, id={??}, type={cfml}, codePrintHTML={113: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local.sct=evaluate(result.filecontent);<br>
114: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loop&nbsp;list=&quot;client,session&quot;&nbsp;item=&quot;scp&quot;&nbsp;{<br>
<b>115: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assertEquals(sct[scp].lastvisit&amp;&quot;&quot;,sct[scp].timecreated&amp;&quot;&quot;);</b><br>
116: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
117: <br>
}}, {Raw_Trace={system.basespec_cfc$cf$1_w.udfCall6(/testbox/system/BaseSpec.cfc:1179)}, codePrintPlain={1177: 				// Execute Spec
1178: 				try {
1179: 					invoke( this, arguments.spec.name );
1180: 
1181: 					// Where we expecting an exception and it did not throw?
}, column={0}, line={1179}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1177: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;Spec<br>
1178: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>
<b>1179: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;invoke(&nbsp;this,&nbsp;arguments.spec.name&nbsp;);</b><br>
1180: <br>
1181: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Where&nbsp;we&nbsp;expecting&nbsp;an&nbsp;exception&nbsp;and&nbsp;it&nbsp;did&nbsp;not&nbsp;throw?<br>
}}, {Raw_Trace={system.runners.unitrunner_cfc$cf$1_19q.udfCall(/testbox/system/runners/UnitRunner.cfc:208)}, codePrintPlain={206: 						suiteStats=thread.suiteStats,
207: 						runner=this
208: 					);
209: 
210: 					// verify call backs
}, column={0}, line={208}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/UnitRunner.cfc}, id={??}, type={cfml}, codePrintHTML={206: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;suiteStats=thread.suiteStats,<br>
207: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner=this<br>
<b>208: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
209: <br>
210: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;verify&nbsp;call&nbsp;backs<br>
}}, {Raw_Trace={system.runners.unitrunner_cfc$cf$1_19q.udfCall(/testbox/system/runners/UnitRunner.cfc:81)}, codePrintPlain={79: 						testResults=arguments.testResults,
80: 						bundleStats=bundleStats,
81: 						callbacks=arguments.callbacks
82: 					);
83: 
}, column={0}, line={81}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/UnitRunner.cfc}, id={??}, type={cfml}, codePrintHTML={79: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults=arguments.testResults,<br>
80: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundleStats=bundleStats,<br>
<b>81: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks=arguments.callbacks</b><br>
82: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
83: <br>
}}, {Raw_Trace={system.testbox_cfc$cf$1_19m.udfCall2(/testbox/system/TestBox.cfc:479)}, codePrintPlain={477: 				// Run via xUnit Style
478: 				new testbox.system.runners.UnitRunner( options=variables.options,testbox=this )
479: 					.run( target, arguments.testResults, arguments.callbacks );
480: 			}
481: 		} catch( Any e ){
}, column={0}, line={479}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={477: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;via&nbsp;xUnit&nbsp;Style<br>
478: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;testbox.system.runners.UnitRunner(&nbsp;options=variables.options,testbox=this&nbsp;)<br>
<b>479: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.run(&nbsp;target,&nbsp;arguments.testResults,&nbsp;arguments.callbacks&nbsp;);</b><br>
480: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
481: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch(&nbsp;Any&nbsp;e&nbsp;){<br>
}}, {Raw_Trace={system.testbox_cfc$cf$1_19m.udfCall1(/testbox/system/TestBox.cfc:252)}, codePrintPlain={250: 				bundlePath  = thisBundlePath,
251: 				testResults = results,
252: 				callbacks   = arguments.callbacks
253: 			);
254: 
}, column={0}, line={252}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={250: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundlePath&nbsp;&nbsp;=&nbsp;thisBundlePath,<br>
251: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;results,<br>
<b>252: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks&nbsp;&nbsp;&nbsp;=&nbsp;arguments.callbacks</b><br>
253: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
254: <br>
}}, {Raw_Trace={system.testbox_cfc$cf$1_19m.udfCall1(/testbox/system/TestBox.cfc:161)}, codePrintPlain={159: 		if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
160: 		// run it and get results
161: 		var results = runRaw( argumentCollection=arguments );
162: 		// store latest results
163: 		variables.result = results;
}, column={0}, line={161}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={159: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!isNull(&nbsp;arguments.reporter&nbsp;)&nbsp;){&nbsp;variables.reporter&nbsp;=&nbsp;arguments.reporter;&nbsp;}<br>
160: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;results<br>
<b>161: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;results&nbsp;=&nbsp;runRaw(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
162: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;store&nbsp;latest&nbsp;results<br>
163: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.result&nbsp;=&nbsp;results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf$1_3.udfCall(/test/_testRunner.cfc:294)}, codePrintPlain={292: 	,onSpecEnd 		= function( bundle, testResults, suite, spec ){}*/
293: } // callbacks
294: 			); // report = tb.run
295: 
296: 	 		// get the result
}, column={0}, line={294}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={292: &nbsp;&nbsp;&nbsp;,onSpecEnd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;function(&nbsp;bundle,&nbsp;testResults,&nbsp;suite,&nbsp;spec&nbsp;){}*/<br>
293: }&nbsp;//&nbsp;callbacks<br>
<b>294: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);&nbsp;//&nbsp;report&nbsp;=&nbsp;tb.run</b><br>
295: <br>
296: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;result<br>
}}, {Raw_Trace={run_tests_cfm180$cf$1y2p0ij32e8e7.call(/test/run-tests.cfm:348)}, codePrintPlain={346: 	systemOutput(NL & "-------------- Start Tests -----------", true);
347: 	silent {
348: 		testResults = new test._testRunner().runTests();
349: 	}
350: 
}, column={0}, line={348}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={346: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
347: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>348: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
349: &nbsp;&nbsp;&nbsp;}<br>
350: <br>
}}]