From 4b978c9cc115c4f4032d5f3dbc4d3cde002449cc Mon Sep 17 00:00:00 2001 From: vasraz Date: Sat, 26 Feb 2022 17:22:58 +0000 Subject: Implement improved MinIo client Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3886 --- .../sdc/be/csar/storage/MinIoStorageArtifactStorageManagerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common-be/src/test') 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 -- cgit 1.2.3-korg