This is an automated email from the ASF dual-hosted git repository.

hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3860c27fe76 [test](schema-change) log alter job state in 
test_schema_change_mow_with_empty_rowset (#64903)
3860c27fe76 is described below

commit 3860c27fe7602a18baa6a5176a44dc3cc6c33712
Author: shuke <[email protected]>
AuthorDate: Wed Jul 1 19:18:53 2026 +0800

    [test](schema-change) log alter job state in 
test_schema_change_mow_with_empty_rowset (#64903)
    
    ## Proposed changes
    
    Add a `logger.info` to print the alter table job state that is polled
    inside the Awaitility loop in
    `test_schema_change_mow_with_empty_rowset.groovy`.
    
    The test waits for the schema-change job to reach `FINISHED`/`CANCELLED`
    but does not log the intermediate state. When the job stalls or ends up
    `CANCELLED`, the regression log shows no trace of the observed state,
    making failures hard to diagnose. Logging the polled `res` each
    iteration makes such failures self-explanatory from the test output.
    
    No behavior change to the test logic itself.
    
    ## Checklist
    - [x] No new test needed (logging-only change to an existing regression
    test)
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 4.8 <[email protected]>
---
 .../schema_change_p0/test_schema_change_mow_with_empty_rowset.groovy     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/regression-test/suites/schema_change_p0/test_schema_change_mow_with_empty_rowset.groovy
 
b/regression-test/suites/schema_change_p0/test_schema_change_mow_with_empty_rowset.groovy
index d7bcf69b3d5..03644aba5c8 100644
--- 
a/regression-test/suites/schema_change_p0/test_schema_change_mow_with_empty_rowset.groovy
+++ 
b/regression-test/suites/schema_change_p0/test_schema_change_mow_with_empty_rowset.groovy
@@ -68,6 +68,7 @@ suite("test_schema_change_mow_with_empty_rowset", "p0") {
     Awaitility.await().atMost(30, TimeUnit.SECONDS).pollDelay(10, 
TimeUnit.MILLISECONDS).pollInterval(10, TimeUnit.MILLISECONDS).until(
         {
             String res = getJobState(tableName)
+            logger.info("alter table ${tableName} job state: ${res}")
             if (res == "FINISHED" || res == "CANCELLED") {
                 assertEquals("FINISHED", res)
                 return true


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

Reply via email to