diff options
author | 2024-04-29 10:52:08 +0000 | |
---|---|---|
committer | 2024-04-29 10:52:08 +0000 | |
commit | b14427c97fb5db371f5629b1e300958ad69366e3 (patch) | |
tree | 878270959fbdc8da5b1d4273d5034303966cd73b /cps-ncmp-service/src/test/groovy/org/onap | |
parent | f679ac737984cfbbf10873f1d178fb718b876de2 (diff) | |
parent | 5a48974558ea300b76ad20a84850c0523877eb63 (diff) |
Merge "Module sync task failing with WebClient"
Diffstat (limited to 'cps-ncmp-service/src/test/groovy/org/onap')
-rw-r--r-- | cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/DmiWebClientConfigurationSpec.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/DmiWebClientConfigurationSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/DmiWebClientConfigurationSpec.groovy index c9491cd02e..2ce5b50093 100644 --- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/DmiWebClientConfigurationSpec.groovy +++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/DmiWebClientConfigurationSpec.groovy @@ -29,7 +29,7 @@ import spock.lang.Specification @SpringBootTest @ContextConfiguration(classes = [DmiWebClientConfiguration.DmiProperties]) -@TestPropertySource(properties = ["ncmp.dmi.httpclient.connectionTimeoutInSeconds=1"]) +@TestPropertySource(properties = ["ncmp.dmi.httpclient.connectionTimeoutInSeconds=1", "ncmp.dmi.httpclient.maximumInMemorySizeInMegabytes=1"]) class DmiWebClientConfigurationSpec extends Specification { @Autowired @@ -39,6 +39,7 @@ class DmiWebClientConfigurationSpec extends Specification { def setup() { objectUnderTest.connectionTimeoutInSeconds = 10 + objectUnderTest.maximumInMemorySizeInMegabytes = 1 } def 'DMI Properties.'() { |