Skip to content

Commit

Permalink
fine tune code
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn committed Jul 12, 2023
1 parent 5d7a898 commit d6fb41c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ public class MLTrainingTaskRunnerTests extends OpenSearchTestCase {
public void setup() {
MockitoAnnotations.openMocks(this);
encryptor = new EncryptorImpl("0000000000000001");
mlEngine = new MLEngine(
Path.of("/tmp/djl-cache_" + randomAlphaOfLength(10)),
Path.of("/tmp/djl-cache_" + randomAlphaOfLength(10)),
encryptor
);
mlEngine = new MLEngine(Path.of("/tmp/djl-cache_" + randomAlphaOfLength(10)), encryptor);
localNode = new DiscoveryNode("localNodeId", buildNewFakeTransportAddress(), Version.CURRENT);
remoteNode = new DiscoveryNode("remoteNodeId", buildNewFakeTransportAddress(), Version.CURRENT);
when(clusterService.localNode()).thenReturn(localNode);
Expand Down

0 comments on commit d6fb41c

Please sign in to comment.