We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd26998 commit a938815Copy full SHA for a938815
ml-algorithms/src/test/java/org/opensearch/ml/engine/algorithms/agent/MLAgentExecutorTest.java
@@ -32,9 +32,7 @@
32
33
import org.junit.Assert;
34
import org.junit.Before;
35
-import org.junit.Rule;
36
import org.junit.Test;
37
-import org.junit.rules.ExpectedException;
38
import org.mockito.ArgumentCaptor;
39
import org.mockito.Captor;
40
import org.mockito.Mock;
@@ -142,9 +140,6 @@ public class MLAgentExecutorTest {
142
140
@Captor
143
141
private ArgumentCaptor<Exception> exceptionCaptor;
144
145
- @Rule
146
- public ExpectedException exceptionRule = ExpectedException.none();
147
-
148
private DiscoveryNode localNode = new DiscoveryNode(
149
"mockClusterManagerNodeId",
150
0 commit comments