[ 
https://issues.apache.org/jira/browse/JDO-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820861#comment-17820861
 ] 

Michael Bouschen edited comment on JDO-836 at 2/27/24 7:20 PM:
---------------------------------------------------------------

I added some log statements to check that query cancel is called after 
query.execute has been called:

22:14:11,040 (Query Executor) INFO  [org.apache.jdo.tck] - Start query execute  
               1708809251037
22:14:12,038 (ForkJoinPool-1-worker-19) INFO  [org.apache.jdo.tck] - Start 
query cancel 1708809252038
22:14:12,039 (ForkJoinPool-1-worker-19) INFO  [org.apache.jdo.tck] - End query 
cancel   1708809252039
22:15:00,860 (Query Executor) INFO  [org.apache.jdo.tck] - End query execute    
                1708809300860
22:15:00,861 (Query Executor) INFO  [org.apache.jdo.tck] - query execute took 
49823ms

You can use the attched configuration cancel.conf to run the QueryCancel TCK 
test. 
Copy the file cancel.conf to tck/src/main/resources/conf {{and}} 
call mvn -Djdo.tck.cfglist=cancel.conf clean install in the tck subdirectory.


was (Author: mbo):
I added some log statements to check that query cancel is called after 
query.execute has been called:

22:14:11,040 (Query Executor) INFO  [org.apache.jdo.tck] - Start query execute  
               1708809251037
22:14:12,038 (ForkJoinPool-1-worker-19) INFO  [org.apache.jdo.tck] - Start 
query cancel 1708809252038
22:14:12,039 (ForkJoinPool-1-worker-19) INFO  [org.apache.jdo.tck] - End query 
cancel   1708809252039
22:15:00,860 (Query Executor) INFO  [org.apache.jdo.tck] - End query execute    
                1708809300860
22:15:00,861 (Query Executor) INFO  [org.apache.jdo.tck] - query execute took 
49823ms

You can use the attched configuration cancel.conf to run the QueryCancel TCK 
test. 
Copy the file cancel.conf to tck/src/main/resources/conf {{and}} 
call mvn -Djdo.tck.cfglist=cancel.conf clean install

> TCK: QueryCancel Test class fails
> ---------------------------------
>
>                 Key: JDO-836
>                 URL: https://issues.apache.org/jira/browse/JDO-836
>             Project: JDO
>          Issue Type: Task
>          Components: tck
>    Affects Versions: JDO 3.2.1
>            Reporter: Michael Bouschen
>            Priority: Major
>         Attachments: cancel.conf
>
>
> The TCK test class QueryCancel fails. It is not part of any test 
> configuration so it is never executed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to