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

mrhhsg pushed a commit to branch adaptive_batch_size
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/adaptive_batch_size by this 
push:
     new 7c84b37ac73 [fix](statistics) Fix missing Mockito import in 
AnalysisManagerTest (#62720)
7c84b37ac73 is described below

commit 7c84b37ac73abbb8e615052ffe1bb1aab8479ace
Author: yujun <[email protected]>
AuthorDate: Wed Apr 22 21:51:07 2026 +0800

    [fix](statistics) Fix missing Mockito import in AnalysisManagerTest (#62720)
    
    ### What problem does this PR solve?
    
    Issue Number: N/A
    
    Related PR: #62710
    
    Problem Summary: `AnalysisManagerTest` in the `adaptive_batch_size`
    branch is missing the `import org.mockito.Mockito;` statement needed by
    the Mockito-based test methods introduced in #62686/#62710. Without this
    import the FE build fails at compilation with `cannot find symbol:
    variable Mockito`.
    
    ### Release note
    
    None
    
    ### Check List (For Author)
    
    - Test: No need to test (compile fix only, import statement only)
    - Behavior changed: No
    - Does this need documentation: No
    
    Co-authored-by: Copilot <[email protected]>
---
 .../src/test/java/org/apache/doris/statistics/AnalysisManagerTest.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/fe/fe-core/src/test/java/org/apache/doris/statistics/AnalysisManagerTest.java 
b/fe/fe-core/src/test/java/org/apache/doris/statistics/AnalysisManagerTest.java
index eef913af42a..91b51342321 100644
--- 
a/fe/fe-core/src/test/java/org/apache/doris/statistics/AnalysisManagerTest.java
+++ 
b/fe/fe-core/src/test/java/org/apache/doris/statistics/AnalysisManagerTest.java
@@ -42,6 +42,7 @@ import mockit.MockUp;
 import mockit.Mocked;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
+import org.mockito.Mockito;
 
 import java.util.ArrayList;
 import java.util.HashMap;


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

Reply via email to