diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-07-27 11:19:48 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2021-08-06 09:42:46 +0000 |
commit | 84aa83e9203d6f890cc5f425a00ac748d47c5c8f (patch) | |
tree | c64d6fe5494e52781fdec406f7f521d6ddd082d5 /common-be/src/test/java | |
parent | 36ff777984fbd728737b264d7aa3933794716519 (diff) |
Fix Security Hotspot
Fix for https://sonarcloud.io/project/security_hotspots?id=onap_sdc&hotspots=AXrLK9lDm75TRpHZ3DAu
Change-Id: I6427d02bb76618a4b7383e427ce9f762adf73e97
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3657
Diffstat (limited to 'common-be/src/test/java')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/csar/storage/CsarSizeReducerTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); |