airborne12 opened a new pull request, #42630:
URL: https://github.com/apache/doris/pull/42630

   ## Proposed changes
   
   Fix case error as below
   ```
   Exception in 
fault_injection_p0/test_build_index_with_clone_fault.groovy(line 76):
   
                   logger.warn("Attempt ${attempt + 1}: show_build_index is 
empty or null. Retrying after ${waitSeconds} second(s)...")
               }
               attempt++
               if (attempt < maxRetries) {
                   sleep(waitSeconds * 1000)
               }
           }
           def finalBuildIndex = sql_return_maparray("show build index where 
TableName = \"${tbl}\" ORDER BY JobId DESC LIMIT 1")
           assertTrue(finalBuildIndex && finalBuildIndex.size() > 0, 
"show_build_index is empty or null after ${maxRetries} attempts")
           assertEquals(expectedState, finalBuildIndex[0].State, "State does 
not match after ${maxRetries} attempts")
   ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^
           assertEquals(expectedMsg, finalBuildIndex[0].Msg, "Msg does not 
match after ${maxRetries} attempts")
       }
   
       def tbl = 'test_build_index_with_clone'
       try {
           
GetDebugPoint().enableDebugPointForAllBEs("EngineCloneTask.wait_clone")
           logger.info("add debug point EngineCloneTask.wait_clone")
           sql """ DROP TABLE IF EXISTS ${tbl} """
           sql """
               CREATE TABLE ${tbl} (
   
   Exception:
   org.opentest4j.AssertionFailedError: State does not match after 3 attempts 
==> expected: <WAITING_TXN> but was: <FINISHED>
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to