diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-02-26 17:22:58 +0000 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-02-26 18:25:12 +0000 |
commit | 4b978c9cc115c4f4032d5f3dbc4d3cde002449cc (patch) | |
tree | b3986d499eb989c5210a25522258c6678b691dd3 /common-be/src/test/java/org | |
parent | d0c2403f1f7088d60b135976c40917302daf8b9e (diff) |
Implement improved MinIo client
Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3886
Diffstat (limited to 'common-be/src/test/java/org')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/csar/storage/MinIoStorageArtifactStorageManagerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/MinIoStorageArtifactStorageManagerTest.java b/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/MinIoStorageArtifactStorageManagerTest.java index 41eed0cebb..fa577913fa 100644 --- a/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/MinIoStorageArtifactStorageManagerTest.java +++ b/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/MinIoStorageArtifactStorageManagerTest.java @@ -72,8 +72,8 @@ class MinIoStorageArtifactStorageManagerTest { .build() ).thenReturn(minioClient); - testSubject = new MinIoStorageArtifactStorageManager( - new MinIoStorageArtifactStorageConfig(true, new EndPoint("host", 9000, false), new Credentials("accessKey", "secretKey"), "")); + testSubject = new MinIoStorageArtifactStorageManager(new MinIoStorageArtifactStorageConfig + (true, new EndPoint("host", 9000, false), new Credentials("accessKey", "secretKey"), "", 10_000_000)); } } @@ -91,7 +91,7 @@ class MinIoStorageArtifactStorageManagerTest { Assertions.assertNotNull(result); Assertions.assertTrue(result instanceof MinIoArtifactInfo); Assertions.assertEquals(VSP_ID, ((MinIoArtifactInfo) result).getBucket()); - Assertions.assertTrue(((MinIoArtifactInfo) result).getObjectName().startsWith(VERSION_ID + "--")); + Assertions.assertTrue(((MinIoArtifactInfo) result).getObjectName().startsWith(VERSION_ID)); } @Test |