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

fchen pushed a commit to branch branch-0.3
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/branch-0.3 by this push:
     new 265805a53 [CELEBORN-1084][FOLLOWUP][0.3] Import `mock` method to 
recover CI
265805a53 is described below

commit 265805a532bce93796791d0056a547cfb795daa5
Author: Fu Chen <[email protected]>
AuthorDate: Wed Oct 25 10:41:39 2023 +0800

    [CELEBORN-1084][FOLLOWUP][0.3] Import `mock` method to recover CI
    
    ### What changes were proposed in this pull request?
    
    As title
    
    ### Why are the changes needed?
    
    The branch-0.3 CI process encountered a compiler error as follows:
    
    ```
    Error:  
/home/runner/work/incubator-celeborn/incubator-celeborn/worker/src/test/java/org/apache/celeborn/service/deploy/worker/storage/FileWriterSuiteJ.java:140:65:
  error: cannot find symbol
    Warning:  javac exited with exit code 1
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Pass GA
    
    Closes #2040 from cfmcgrady/celeborn-1084-0.3-followup.
    
    Authored-by: Fu Chen <[email protected]>
    Signed-off-by: Fu Chen <[email protected]>
---
 .../apache/celeborn/service/deploy/worker/storage/FileWriterSuiteJ.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/worker/src/test/java/org/apache/celeborn/service/deploy/worker/storage/FileWriterSuiteJ.java
 
b/worker/src/test/java/org/apache/celeborn/service/deploy/worker/storage/FileWriterSuiteJ.java
index fa93b2ccb..c0cd5568a 100644
--- 
a/worker/src/test/java/org/apache/celeborn/service/deploy/worker/storage/FileWriterSuiteJ.java
+++ 
b/worker/src/test/java/org/apache/celeborn/service/deploy/worker/storage/FileWriterSuiteJ.java
@@ -20,6 +20,7 @@ package org.apache.celeborn.service.deploy.worker.storage;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotEquals;
 import static org.junit.Assert.fail;
+import static org.mockito.Mockito.*;
 
 import java.io.File;
 import java.io.IOException;

Reply via email to