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 8b630ba8a..77161b415 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 void testJobCancelled() { jobState.jobStatus(JobStatus.INITIALIZING); Mockito.verify(jobObserver, Mockito.timeout(15000L).atLeast(1)) .onJobStateChanged(Mockito.eq(jobState)); + Mockito.clearInvocations(jobObserver); this.driver.cancelJob(jobId, params);