You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mantis-server/mantis-server-worker/src/test/java/io/mantisrx/server/worker/jobmaster/AutoScaleMetricsConfigTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ public void testGenerateSourceJobMetricGroups() {
Copy file name to clipboardExpand all lines: mantis-server/mantis-server-worker/src/test/java/io/mantisrx/server/worker/jobmaster/JobAutoScalerTest.java
+22-24Lines changed: 22 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -44,13 +44,11 @@
44
44
importjava.util.concurrent.TimeUnit;
45
45
importjava.util.concurrent.atomic.AtomicInteger;
46
46
importorg.junit.Test;
47
-
importorg.mockito.invocation.InvocationOnMock;
48
47
importorg.mockito.stubbing.Answer;
49
48
importorg.slf4j.Logger;
50
49
importorg.slf4j.LoggerFactory;
51
50
importrx.Observable;
52
51
importrx.Observer;
53
-
importrx.functions.Func1;
54
52
55
53
56
54
publicclassJobAutoScalerTest {
@@ -107,12 +105,13 @@ public void testScaleUp() throws InterruptedException {
107
105
// retry sending auto scale event till scaleJobStage request sent to master, as there is possible a race between the sleep for coolDownSecs in the Test and the event being processed before coolDownSecs
@@ -329,13 +325,15 @@ public void testScaleUpOnDifferentScalingReasons() throws InterruptedException {
329
325
330
326
// retry sending auto scale event till scaleJobStage request sent to master, as there is possible a race between the sleep for coolDownSecs in the Test and the event being processed before coolDownSecs
Copy file name to clipboardExpand all lines: mantis-server/mantis-server-worker/src/test/java/io/mantisrx/server/worker/jobmaster/WorkerMetricHandlerTest.java
+18-26Lines changed: 18 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -44,13 +44,11 @@
44
44
importjava.util.concurrent.CountDownLatch;
45
45
importjava.util.concurrent.TimeUnit;
46
46
importorg.junit.Test;
47
-
importorg.mockito.invocation.InvocationOnMock;
48
47
importorg.mockito.stubbing.Answer;
49
48
importorg.slf4j.Logger;
50
49
importorg.slf4j.LoggerFactory;
51
50
importrx.Observable;
52
51
importrx.Observer;
53
-
importrx.functions.Func1;
54
52
55
53
56
54
publicclassWorkerMetricHandlerTest {
@@ -220,30 +218,24 @@ public void testOutlierResubmitWorks() throws InterruptedException {
0 commit comments