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

ASF GitHub Bot commented on PHOENIX-7176:
-----------------------------------------

Aarchy commented on PR #1798:
URL: https://github.com/apache/phoenix/pull/1798#issuecomment-1893467610

   The test still fails sometimes, but on another assert, which checks whether 
the elapsed time was greater than the timeout set. 
   Logging elapsedTime showed that it was equal to the timeout (1000 ms). 
   
   I'm wondering if this is caused by relying on System.currentTimeMillis() 
instead of system.nanotime(). Using (>=) in the assert seems to fix it though. 
   
   




> QueryTimeoutIT#testQueryTimeout fails with incorrect error message
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-7176
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7176
>             Project: Phoenix
>          Issue Type: Bug
>          Components: phoenix
>            Reporter: Aron Attila Meszaros
>            Assignee: Aron Attila Meszaros
>            Priority: Major
>             Fix For: 5.2.0, 5.1.4
>
>
> QueryTimeoutIT sometimes fails with incorrect error message: E.g. "Total time 
> of query was 1224 ms, but expected to be greater than 1000". 



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

Reply via email to