Skip to content

Commit a938815

Browse files
committed
Reverting unused imports and property
1 parent bd26998 commit a938815

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ml-algorithms/src/test/java/org/opensearch/ml/engine/algorithms/agent/MLAgentExecutorTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232

3333
import org.junit.Assert;
3434
import org.junit.Before;
35-
import org.junit.Rule;
3635
import org.junit.Test;
37-
import org.junit.rules.ExpectedException;
3836
import org.mockito.ArgumentCaptor;
3937
import org.mockito.Captor;
4038
import org.mockito.Mock;
@@ -142,9 +140,6 @@ public class MLAgentExecutorTest {
142140
@Captor
143141
private ArgumentCaptor<Exception> exceptionCaptor;
144142

145-
@Rule
146-
public ExpectedException exceptionRule = ExpectedException.none();
147-
148143
private DiscoveryNode localNode = new DiscoveryNode(
149144
"mockClusterManagerNodeId",
150145
"mockClusterManagerNodeId",

0 commit comments

Comments
 (0)