From 84aa83e9203d6f890cc5f425a00ac748d47c5c8f Mon Sep 17 00:00:00 2001 From: vasraz Date: Tue, 27 Jul 2021 11:19:48 +0100 Subject: Fix Security Hotspot Fix for https://sonarcloud.io/project/security_hotspots?id=onap_sdc&hotspots=AXrLK9lDm75TRpHZ3DAu Change-Id: I6427d02bb76618a4b7383e427ce9f762adf73e97 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3657 --- .../test/java/org/openecomp/sdc/be/csar/storage/CsarSizeReducerTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'common-be/src/test/java/org') diff --git a/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/CsarSizeReducerTest.java b/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/CsarSizeReducerTest.java index eaa5ffeda2..e9748f0a16 100644 --- a/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/CsarSizeReducerTest.java +++ b/common-be/src/test/java/org/openecomp/sdc/be/csar/storage/CsarSizeReducerTest.java @@ -62,6 +62,7 @@ class CsarSizeReducerTest { final var sizeLimit = 150000L; when(csarPackageReducerConfiguration.getSizeLimit()).thenReturn(sizeLimit); when(csarPackageReducerConfiguration.getFoldersToStrip()).thenReturn(Set.of(pathToReduce1, pathToReduce2)); + when(csarPackageReducerConfiguration.getThresholdEntries()).thenReturn(10000); final var csarPath = Path.of("src/test/resources/csarSizeReducer/" + fileName); -- cgit 1.2.3-korg