Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12522

test_alter_table_recover could finish less than 10 seconds with JDK 17 when enable_async_ddl_execution is False

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • None
    • ghx-label-1

    Description

      We found that test_alter_table_recover() could finish the execution within 10 seconds with JDK 17 when enable_async_ddl_execution is False and thus the check in the else branch could fail. Don't know it has something to do with JDK but maybe we could reduce the expected execution time a little bit to make the test less flaky.

            # In sync mode:
            #  The entire DDL is processed in the exec step with delay. exec_time should be
            #  more than 10 seconds.
            #
            # In async mode:
            #  The compilation of DDL is processed in the exec step without delay. And the
            #  processing of the DDL plan is in wait step with delay. The wait time should
            #  definitely take more time than 10 seconds.
            if enable_async_ddl:
              assert(wait_time >= 10)
            else:
              assert(exec_time >= 10)
      

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            fangyurao Fang-Yu Rao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: