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

zhaocong pushed a commit to branch fix_testJobCancelled
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git

commit f45f5aa9a44c0ce17508387269e20ab74ffc1bdb
Author: coderzc <[email protected]>
AuthorDate: Wed Nov 22 16:54:43 2023 +0800

    Fix MiniKubeTest.testJobCancelled
---
 .../src/main/java/org/apache/hugegraph/computer/k8s/MiniKubeTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/computer-test/src/main/java/org/apache/hugegraph/computer/k8s/MiniKubeTest.java
 
b/computer-test/src/main/java/org/apache/hugegraph/computer/k8s/MiniKubeTest.java
index 8b630ba8..77161b41 100644
--- 
a/computer-test/src/main/java/org/apache/hugegraph/computer/k8s/MiniKubeTest.java
+++ 
b/computer-test/src/main/java/org/apache/hugegraph/computer/k8s/MiniKubeTest.java
@@ -246,6 +246,7 @@ public class MiniKubeTest extends AbstractK8sTest {
         jobState.jobStatus(JobStatus.INITIALIZING);
         Mockito.verify(jobObserver, Mockito.timeout(15000L).atLeast(1))
                .onJobStateChanged(Mockito.eq(jobState));
+        Mockito.clearInvocations(jobObserver);
 
         this.driver.cancelJob(jobId, params);
 

Reply via email to