query_testAsynUDF test failing

Description

[java]    [script] from the udf listener [java]    [script] key [QUERY_TESTASYNUDF] doesn't exist [java]    [script] application.query_testAsynUDF=false [java]    [script] test.tags.Query (12 tests passed in 3,231 ms) [java]    [script]  Suites/Specs: 1/13 [java]    [script]  Failures: 1 [java]    [script]  Errors:   0 [java]    [script]  Pass:     12 [java]    [script]  Skipped:  0 [java]    [script] [java]    [script]  Failed: testAsynUDF --> Expected [false] to be true [java]    [script]      at [java]    [script]  /home/runner/work/Lucee/Lucee/test/tags/Query.cfc:249

https://github.com/lucee/Lucee/actions/runs/3346273631/jobs/5543567706#step:20:2563

https://github.com/lucee/Lucee/blob/5.3/test/tags/Query.cfc#L231

public void function testAsynUDF() {     var udf=function (caller,args,result,meta) {         try {             systemOutput("from the udf listener",1,1);             systemOutput("application.query_testAsynUDF=#application.query_testAsynUDF#",1,1);             arguments.args.sql="insert into QueryTestAsync(id,i,dec) values('6',1,1.0)"; // change SQL             application.query_testAsynUDF=true;             systemOutput("application.query_testAsynUDF=#application.query_testAsynUDF#",1,1);             return arguments;         }         catch(e) {             systemOutput(e.message,1,1);         }     };     var tbl="QueryTestAsync";     application.query_testAsynUDF=false;     testAsyn(udf,tbl,0);     systemOutput("application.query_testAsynUDF=#application.query_testAsynUDF#",1,1);     assertTrue(application.query_testAsynUDF); }

Environment

None

Activity

Show:

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 28 October 2022 at 16:00
Updated 28 October 2022 at 16:00

Flag notifications