DynPropertyServiceTest

71

tests

0

failures

0

ignored

2.739s

duration

100%

successful

Tests

Test Method name Duration Result
Returns true when all required context roles are present in property data testCheckHit_WhenAllInList_ThenReturnsExpectedValue(Set, List, boolean, String)[1] 0.029s passed
Returns false when at least one context role is missing from property data testCheckHit_WhenAllInList_ThenReturnsExpectedValue(Set, List, boolean, String)[2] 0.023s passed
Returns true for empty context because all zero elements are contained testCheckHit_WhenAllInList_ThenReturnsExpectedValue(Set, List, boolean, String)[3] 0.021s passed
Returns true when at least one context segment exists in property data testCheckHit_WhenAnyInList_ThenReturnsExpectedValue(List, List, boolean, String)[1] 1.442s passed
Returns false when no context segments intersect with property data testCheckHit_WhenAnyInList_ThenReturnsExpectedValue(List, List, boolean, String)[2] 0.038s passed
Returns false for empty context because there is no intersection testCheckHit_WhenAnyInList_ThenReturnsExpectedValue(List, List, boolean, String)[3] 0.028s passed
Boolean flag value true returns true when checked testCheckHit_WhenBooleanFlag_ThenReturnsExpectedValue(boolean)[1] 0.013s passed
Boolean flag value false returns false when checked testCheckHit_WhenBooleanFlag_ThenReturnsExpectedValue(boolean)[2] 0.013s passed
testCheckHit_WhenCustomProperty_ThenThrowsIncorrectTypeException() testCheckHit_WhenCustomProperty_ThenThrowsIncorrectTypeException() 0.015s passed
testCheckHit_WhenEqualityFlagDoesNotMatchContext_ThenReturnsFalse() testCheckHit_WhenEqualityFlagDoesNotMatchContext_ThenReturnsFalse() 0.016s passed
testCheckHit_WhenEqualityFlagMatchesContext_ThenReturnsTrue() testCheckHit_WhenEqualityFlagMatchesContext_ThenReturnsTrue() 0.010s passed
testCheckHit_WhenEqualityFlagWithNumericContext_ThenWorksCorrectly() testCheckHit_WhenEqualityFlagWithNumericContext_ThenWorksCorrectly() 0.021s passed
Percentage flag with 0% returns false testCheckHit_WhenPercentageFlag_ThenReturnsExpectedValue(Integer, boolean, String)[1] 0.028s passed
Percentage flag with 100% returns true testCheckHit_WhenPercentageFlag_ThenReturnsExpectedValue(Integer, boolean, String)[2] 0.024s passed
testCheckHit_WhenPropertyDoesNotExist_ThenThrowsNotFoundException() testCheckHit_WhenPropertyDoesNotExist_ThenThrowsNotFoundException() 0.022s passed
Returns true when data string contains context substring testCheckHit_WhenStringContains_ThenReturnsExpectedValue(String, String, boolean, String)[1] 0.021s passed
Returns false when data string does not contain context substring testCheckHit_WhenStringContains_ThenReturnsExpectedValue(String, String, boolean, String)[2] 0.016s passed
Returns true when context is empty string because every string contains empty substring testCheckHit_WhenStringContains_ThenReturnsExpectedValue(String, String, boolean, String)[3] 0.019s passed
Context in list returns true testCheckHit_WhenUnitInList_ThenReturnsExpectedValue(List, Object, boolean, String)[1] 0.019s passed
Context not in list returns false testCheckHit_WhenUnitInList_ThenReturnsExpectedValue(List, Object, boolean, String)[2] 0.014s passed
Empty list always returns false testCheckHit_WhenUnitInList_ThenReturnsExpectedValue(List, Object, boolean, String)[3] 0.016s passed
Integer context in list returns true testCheckHit_WhenUnitInList_ThenReturnsExpectedValue(List, Object, boolean, String)[4] 0.017s passed
Integer context not in list returns false testCheckHit_WhenUnitInList_ThenReturnsExpectedValue(List, Object, boolean, String)[5] 0.012s passed
Creates all in list flag with string permissions data set testCreateDynProperty_WhenAllInListFlag_ThenPropertyIsCreated(Collection, String)[1] 0.023s passed
Creates all in list flag with integer user ids data set testCreateDynProperty_WhenAllInListFlag_ThenPropertyIsCreated(Collection, String)[2] 0.020s passed
Creates all in list flag with empty data set testCreateDynProperty_WhenAllInListFlag_ThenPropertyIsCreated(Collection, String)[3] 0.017s passed
Creates any in list flag with string segment data list testCreateDynProperty_WhenAnyInListFlag_ThenPropertyIsCreated(List, String)[1] 0.020s passed
Creates any in list flag with integer shard data list testCreateDynProperty_WhenAnyInListFlag_ThenPropertyIsCreated(List, String)[2] 0.023s passed
Creates any in list flag with empty data list testCreateDynProperty_WhenAnyInListFlag_ThenPropertyIsCreated(List, String)[3] 0.021s passed
User 'senior.developer' creates boolean flag with value true testCreateDynProperty_WhenBooleanFlag_ThenPropertyIsCreated(String, Boolean)[1] 0.016s passed
User 'junior.tester' creates boolean flag with value false testCreateDynProperty_WhenBooleanFlag_ThenPropertyIsCreated(String, Boolean)[2] 0.014s passed
testCreateDynProperty_WhenCustomPropertyWithBooleanData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithBooleanData_ThenPropertyIsCreated() 0.019s passed
testCreateDynProperty_WhenCustomPropertyWithComplexStructure_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithComplexStructure_ThenPropertyIsCreated() 0.020s passed
testCreateDynProperty_WhenCustomPropertyWithDateData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithDateData_ThenPropertyIsCreated() 0.020s passed
testCreateDynProperty_WhenCustomPropertyWithDoubleData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithDoubleData_ThenPropertyIsCreated() 0.016s passed
testCreateDynProperty_WhenCustomPropertyWithEmptyList_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithEmptyList_ThenPropertyIsCreated() 0.035s passed
testCreateDynProperty_WhenCustomPropertyWithEmptyMap_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithEmptyMap_ThenPropertyIsCreated() 0.015s passed
testCreateDynProperty_WhenCustomPropertyWithIntegerData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithIntegerData_ThenPropertyIsCreated() 0.016s passed
testCreateDynProperty_WhenCustomPropertyWithListData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithListData_ThenPropertyIsCreated() 0.016s passed
testCreateDynProperty_WhenCustomPropertyWithLongData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithLongData_ThenPropertyIsCreated() 0.018s passed
testCreateDynProperty_WhenCustomPropertyWithMapData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithMapData_ThenPropertyIsCreated() 0.018s passed
testCreateDynProperty_WhenCustomPropertyWithNestedMapData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithNestedMapData_ThenPropertyIsCreated() 0.023s passed
testCreateDynProperty_WhenCustomPropertyWithNullData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithNullData_ThenPropertyIsCreated() 0.014s passed
testCreateDynProperty_WhenCustomPropertyWithStringData_ThenPropertyIsCreated() testCreateDynProperty_WhenCustomPropertyWithStringData_ThenPropertyIsCreated() 0.014s passed
User 'account.manager' creates equality flag with string value: premium testCreateDynProperty_WhenEqualityFlag_ThenPropertyIsCreated(String, Object, String)[1] 0.018s passed
User 'api.developer' creates equality flag with integer value: 42 testCreateDynProperty_WhenEqualityFlag_ThenPropertyIsCreated(String, Object, String)[2] 0.019s passed
User 'data.analyst' creates equality flag with long value: 1000000 testCreateDynProperty_WhenEqualityFlag_ThenPropertyIsCreated(String, Object, String)[3] 0.019s passed
User 'finance.controller' creates equality flag with double value: 99.99 testCreateDynProperty_WhenEqualityFlag_ThenPropertyIsCreated(String, Object, String)[4] 0.017s passed
User 'marketing.manager' creates percentage flag with value 0% testCreateDynProperty_WhenPercentageFlag_ThenPropertyIsCreated(String, Integer)[1] 0.019s passed
User 'product.owner' creates percentage flag with value 50% testCreateDynProperty_WhenPercentageFlag_ThenPropertyIsCreated(String, Integer)[2] 0.016s passed
User 'release.engineer' creates percentage flag with value 100% testCreateDynProperty_WhenPercentageFlag_ThenPropertyIsCreated(String, Integer)[3] 0.014s passed
testCreateDynProperty_WhenPropertyAlreadyExists_ThenThrowsAlreadyExistsException() testCreateDynProperty_WhenPropertyAlreadyExists_ThenThrowsAlreadyExistsException() 0.022s passed
testCreateDynProperty_WhenSamePropertyDifferentUser_ThenBothPropertiesCreated() testCreateDynProperty_WhenSamePropertyDifferentUser_ThenBothPropertiesCreated() 0.024s passed
testCreateDynProperty_WhenSameUserDifferentProperties_ThenBothPropertiesCreated() testCreateDynProperty_WhenSameUserDifferentProperties_ThenBothPropertiesCreated() 0.025s passed
Creates string contains flag for api route testCreateDynProperty_WhenStringContainsFlag_ThenPropertyIsCreated(String, String)[1] 0.016s passed
Creates string contains flag for subscription tier testCreateDynProperty_WhenStringContainsFlag_ThenPropertyIsCreated(String, String)[2] 0.015s passed
Creates string contains flag for empty pattern testCreateDynProperty_WhenStringContainsFlag_ThenPropertyIsCreated(String, String)[3] 0.016s passed
Creates unit in list flag with string list containing 3 elements testCreateDynProperty_WhenUnitInListFlag_ThenPropertyIsCreated(List, String, int)[1] 0.014s passed
Creates unit in list flag with integer list containing 5 elements testCreateDynProperty_WhenUnitInListFlag_ThenPropertyIsCreated(List, String, int)[2] 0.014s passed
Creates unit in list flag with empty list containing 0 elements testCreateDynProperty_WhenUnitInListFlag_ThenPropertyIsCreated(List, String, int)[3] 0.016s passed
testGetDynPropertyData_WhenBooleanFlag_ThenReturnsBoolean() testGetDynPropertyData_WhenBooleanFlag_ThenReturnsBoolean() 0.012s passed
testGetDynPropertyData_WhenMultiplePropertiesForUser_ThenReturnsCorrectProperty() testGetDynPropertyData_WhenMultiplePropertiesForUser_ThenReturnsCorrectProperty() 0.024s passed
testGetDynPropertyData_WhenPercentageFlag_ThenReturnsInteger() testGetDynPropertyData_WhenPercentageFlag_ThenReturnsInteger() 0.012s passed
testGetDynPropertyData_WhenPropertyDoesNotExist_ThenThrowsNotFoundException() testGetDynPropertyData_WhenPropertyDoesNotExist_ThenThrowsNotFoundException() 0.007s passed
Retrieves string data type: dark_mode testGetDynPropertyData_WhenPropertyExists_ThenReturnsCorrectData(String, String, Object, String)[1] 0.019s passed
Retrieves integer data type: 100 testGetDynPropertyData_WhenPropertyExists_ThenReturnsCorrectData(String, String, Object, String)[2] 0.019s passed
Retrieves double data type: 30.5 testGetDynPropertyData_WhenPropertyExists_ThenReturnsCorrectData(String, String, Object, String)[3] 0.017s passed
Retrieves boolean data type: true testGetDynPropertyData_WhenPropertyExists_ThenReturnsCorrectData(String, String, Object, String)[4] 0.015s passed
Retrieves complex map data type: {endpoints=[api.example.com, backup.example.com], max_retries=3, timeout_seconds=30} testGetDynPropertyData_WhenPropertyExists_ThenReturnsCorrectData(String, String, Object, String)[5] 0.019s passed
Retrieves null data type: null testGetDynPropertyData_WhenPropertyExists_ThenReturnsCorrectData(String, String, Object, String)[6] 0.015s passed
testGetDynPropertyData_WhenSamePropertyDifferentUser_ThenReturnsUserSpecificData() testGetDynPropertyData_WhenSamePropertyDifferentUser_ThenReturnsUserSpecificData() 0.021s passed

Standard output

21:39:19.894 [Test worker] INFO org.testcontainers.images.PullPolicy -- Image pull policy will be performed by: DefaultPullPolicy()
21:39:19.911 [Test worker] INFO org.testcontainers.utility.ImageNameSubstitutor -- Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
21:39:19.935 [Test worker] INFO org.testcontainers.DockerClientFactory -- Testcontainers version: 1.21.3
21:39:20.663 [Test worker] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy -- Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
21:39:20.673 [Test worker] INFO org.testcontainers.DockerClientFactory -- Docker host IP address is localhost
21:39:20.717 [Test worker] INFO org.testcontainers.DockerClientFactory -- Connected to docker: 
  Server Version: 28.0.4
  API Version: 1.48
  Operating System: Ubuntu 24.04.4 LTS
  Total Memory: 15993 MB
21:39:20.773 [Test worker] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling docker image: testcontainers/ryuk:0.12.0. Please be patient; this may take some time but only needs to be done once.
21:39:21.122 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Starting to pull image
21:39:21.158 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 bytes/0 bytes)
21:39:21.342 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  2 pending,  1 downloaded,  0 extracted, (887 KB/? MB)
21:39:21.367 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  1 pending,  2 downloaded,  0 extracted, (887 KB/? MB)
21:39:21.458 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  0 pending,  3 downloaded,  0 extracted, (4 MB/11 MB)
21:39:21.499 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  0 pending,  3 downloaded,  1 extracted, (7 MB/11 MB)
21:39:22.232 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  0 pending,  3 downloaded,  2 extracted, (7 MB/11 MB)
21:39:22.268 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pulling image layers:  0 pending,  3 downloaded,  3 extracted, (11 MB/11 MB)
21:39:22.275 [docker-java-stream--155517570] INFO tc.testcontainers/ryuk:0.12.0 -- Pull complete. 3 layers, pulled in 1s (downloaded 11 MB at 11 MB/s)
21:39:22.275 [Test worker] INFO tc.testcontainers/ryuk:0.12.0 -- Image testcontainers/ryuk:0.12.0 pull took PT1.50156562S
21:39:22.319 [Test worker] INFO tc.testcontainers/ryuk:0.12.0 -- Creating container for image: testcontainers/ryuk:0.12.0
21:39:22.431 [Test worker] INFO tc.testcontainers/ryuk:0.12.0 -- Container testcontainers/ryuk:0.12.0 is starting: 4b173e50437e84179520879033f1cab93af51ccfb5161b75ce24288e51dae000
21:39:22.737 [Test worker] INFO tc.testcontainers/ryuk:0.12.0 -- Container testcontainers/ryuk:0.12.0 started in PT0.41807936S
21:39:22.743 [Test worker] INFO org.testcontainers.utility.RyukResourceReaper -- Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
21:39:22.743 [Test worker] INFO org.testcontainers.DockerClientFactory -- Checking the system...
21:39:22.744 [Test worker] INFO org.testcontainers.DockerClientFactory -- ✔︎ Docker server version should be at least 1.6.0
21:39:22.747 [Test worker] INFO tc.redis:8.2.3 -- Pulling docker image: redis:8.2.3. Please be patient; this may take some time but only needs to be done once.
21:39:22.984 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Starting to pull image
21:39:22.985 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 bytes/0 bytes)
21:39:23.152 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  6 pending,  1 downloaded,  0 extracted, (1 KB/? MB)
21:39:23.163 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  5 pending,  2 downloaded,  0 extracted, (1 KB/? MB)
21:39:23.241 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  4 pending,  3 downloaded,  0 extracted, (293 KB/? MB)
21:39:23.336 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  3 pending,  4 downloaded,  0 extracted, (14 MB/? MB)
21:39:23.353 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  2 pending,  5 downloaded,  0 extracted, (14 MB/? MB)
21:39:23.409 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  1 pending,  6 downloaded,  0 extracted, (25 MB/? MB)
21:39:23.501 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  0 extracted, (35 MB/50 MB)
21:39:24.420 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  1 extracted, (47 MB/50 MB)
21:39:24.504 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  2 extracted, (47 MB/50 MB)
21:39:24.522 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  3 extracted, (47 MB/50 MB)
21:39:24.854 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  4 extracted, (50 MB/50 MB)
21:39:24.863 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  5 extracted, (50 MB/50 MB)
21:39:24.871 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  6 extracted, (50 MB/50 MB)
21:39:24.881 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pulling image layers:  0 pending,  7 downloaded,  7 extracted, (50 MB/50 MB)
21:39:24.890 [docker-java-stream--518602671] INFO tc.redis:8.2.3 -- Pull complete. 7 layers, pulled in 1s (downloaded 50 MB at 50 MB/s)
21:39:24.890 [Test worker] INFO tc.redis:8.2.3 -- Image redis:8.2.3 pull took PT2.142606601S
21:39:24.893 [Test worker] INFO tc.redis:8.2.3 -- Creating container for image: redis:8.2.3
21:39:24.909 [Test worker] INFO tc.redis:8.2.3 -- Container redis:8.2.3 is starting: c49acf4c2d0e4304e0ece1d269c6132dfdcd9a5c239c8aa48229a256fd52b3d3
21:39:25.126 [Test worker] INFO tc.redis:8.2.3 -- Container redis:8.2.3 started in PT0.232665277S
21:39:25.129 [Test worker] INFO tc.mongo:8.2.3 -- Pulling docker image: mongo:8.2.3. Please be patient; this may take some time but only needs to be done once.
21:39:25.367 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Starting to pull image
21:39:25.368 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 bytes/0 bytes)
21:39:25.535 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  7 pending,  1 downloaded,  0 extracted, (15 KB/? MB)
21:39:25.570 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  6 pending,  2 downloaded,  0 extracted, (306 KB/? MB)
21:39:25.642 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  5 pending,  3 downloaded,  0 extracted, (316 KB/? MB)
21:39:25.656 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  4 pending,  4 downloaded,  0 extracted, (10 MB/? MB)
21:39:25.713 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  3 pending,  5 downloaded,  0 extracted, (10 MB/? MB)
21:39:25.748 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  2 pending,  6 downloaded,  0 extracted, (27 MB/? MB)
21:39:25.801 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  1 pending,  7 downloaded,  0 extracted, (27 MB/? MB)
21:39:26.936 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  1 pending,  7 downloaded,  1 extracted, (276 MB/? MB)
21:39:27.030 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  1 extracted, (300 MB/312 MB)
21:39:27.633 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  2 extracted, (300 MB/312 MB)
21:39:27.774 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  3 extracted, (302 MB/312 MB)
21:39:27.818 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  4 extracted, (303 MB/312 MB)
21:39:27.827 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  5 extracted, (303 MB/312 MB)
21:39:27.842 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  6 extracted, (303 MB/312 MB)
21:39:33.142 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  7 extracted, (312 MB/312 MB)
21:39:33.155 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pulling image layers:  0 pending,  8 downloaded,  8 extracted, (312 MB/312 MB)
21:39:33.161 [Test worker] INFO tc.mongo:8.2.3 -- Image mongo:8.2.3 pull took PT8.032609265S
21:39:33.161 [docker-java-stream--261935862] INFO tc.mongo:8.2.3 -- Pull complete. 8 layers, pulled in 7s (downloaded 312 MB at 44 MB/s)
21:39:33.164 [Test worker] INFO tc.mongo:8.2.3 -- Creating container for image: mongo:8.2.3
21:39:33.186 [Test worker] INFO tc.mongo:8.2.3 -- Container mongo:8.2.3 is starting: 7a374c388612b940062e11011e11e01f402f61f84c78d774d87aaae964034801
21:39:33.440 [Test worker] INFO tc.mongo:8.2.3 -- Container mongo:8.2.3 started in PT0.275478451S
21:39:34.397 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [andreydem0505.remoteconfig.services.DynPropertyServiceTest]: DynPropertyServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
21:39:34.586 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration andreydem0505.remoteconfig.RemoteConfigApplication for test class andreydem0505.remoteconfig.services.DynPropertyServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.5.6)

2026-04-11T21:39:35.416Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] a.r.services.DynPropertyServiceTest      : Starting DynPropertyServiceTest using Java 25.0.2 with PID 2669 (started by runner in /home/runner/work/RemoteConfig/RemoteConfig)
2026-04-11T21:39:35.419Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] a.r.services.DynPropertyServiceTest      : The following 1 profile is active: "test"
2026-04-11T21:39:37.009Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2026-04-11T21:39:37.012Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
2026-04-11T21:39:37.202Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 179 ms. Found 2 MongoDB repository interfaces.
2026-04-11T21:39:37.220Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2026-04-11T21:39:37.223Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-04-11T21:39:37.245Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface andreydem0505.remoteconfig.data.repositories.DynPropertyRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2026-04-11T21:39:37.246Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface andreydem0505.remoteconfig.data.repositories.UserRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2026-04-11T21:39:37.246Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces.
2026-04-11T21:39:38.116Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] org.mongodb.driver.client                : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "5.5.1"}, "os": {"type": "Linux", "name": "Linux", "architecture": "amd64", "version": "6.17.0-1010-azure"}, "platform": "Java/Eclipse Adoptium/25.0.2+10-LTS"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, transportSettings=null, commandListeners=[io.micrometer.core.instrument.binder.mongodb.MongoMetricsCommandListener@b3730d5], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@6b423394, com.mongodb.Jep395RecordCodecProvider@6d84d371, com.mongodb.KotlinCodecProvider@543fb2cd]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[localhost:32770], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='15 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[io.micrometer.core.instrument.binder.mongodb.MongoMetricsConnectionPoolListener@66bc8107], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverMonitoringMode=AUTO, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, dnsClient=null, inetAddressResolver=null, contextProvider=null, timeoutMS=null}
2026-04-11T21:39:38.142Z  INFO 2669 --- [RemoteConfig-Test] [localhost:32770] org.mongodb.driver.cluster               : Monitor thread successfully connected to server with description ServerDescription{address=localhost:32770, type=REPLICA_SET_PRIMARY, cryptd=false, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=27, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=45769333, minRoundTripTimeNanos=0, setName='docker-rs', canonicalAddress=7a374c388612:27017, hosts=[7a374c388612:27017], passives=[], arbiters=[], primary='7a374c388612:27017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000001, setVersion=1, topologyVersion=TopologyVersion{processId=69dabf951cfbadc4b13b3696, counter=6}, lastWriteDate=Sat Apr 11 21:39:33 UTC 2026, lastUpdateTimeNanos=135720752967}
2026-04-11T21:39:38.995Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] eAuthenticationProviderManagerConfigurer : Global AuthenticationManager configured with AuthenticationProvider bean with name authenticationProvider
2026-04-11T21:39:38.996Z  WARN 2669 --- [RemoteConfig-Test] [    Test worker] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with an AuthenticationProvider bean. UserDetailsService beans will not be used by Spring Security for automatically configuring username/password login. Consider removing the AuthenticationProvider bean. Alternatively, consider using the UserDetailsService in a manually instantiated DaoAuthenticationProvider. If the current configuration is intentional, to turn off this warning, increase the logging level of 'org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer' to ERROR
2026-04-11T21:39:39.711Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 3 endpoints beneath base path '/actuator'
2026-04-11T21:39:40.479Z  INFO 2669 --- [RemoteConfig-Test] [    Test worker] a.r.services.DynPropertyServiceTest      : Started DynPropertyServiceTest in 5.66 seconds (process running for 21.959)
2026-04-11T21:39:43.385Z  INFO 2669 --- [RemoteConfig-Test] [localhost:32770] org.mongodb.driver.cluster               : Exception in monitor thread while connecting to server localhost:32770

com.mongodb.MongoSocketReadException: Prematurely reached end of stream
	at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:184) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:824) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:517) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.receive(InternalStreamConnection.java:469) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitor.lookupServerDescription(DefaultServerMonitor.java:249) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitor.run(DefaultServerMonitor.java:176) ~[mongodb-driver-core-5.5.1.jar:na]

2026-04-11T21:39:43.393Z  INFO 2669 --- [RemoteConfig-Test] [localhost:32770] org.mongodb.driver.cluster               : Exception in monitor thread while connecting to server localhost:32770

com.mongodb.MongoSocketReadException: Exception receiving message
	at com.mongodb.internal.connection.InternalStreamConnection.translateReadException(InternalStreamConnection.java:809) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:857) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:517) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceiveInternal(InternalStreamConnection.java:448) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.lambda$sendAndReceive$0(InternalStreamConnection.java:375) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:378) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.CommandHelper.sendAndReceive(CommandHelper.java:100) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.CommandHelper.executeCommand(CommandHelper.java:49) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnectionInitializer.initializeConnectionDescription(InternalStreamConnectionInitializer.java:144) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnectionInitializer.startHandshake(InternalStreamConnectionInitializer.java:79) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:235) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitor.lookupServerDescription(DefaultServerMonitor.java:219) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitor.run(DefaultServerMonitor.java:176) ~[mongodb-driver-core-5.5.1.jar:na]
Caused by: java.net.SocketException: Connection reset
	at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:316) ~[na:na]
	at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:354) ~[na:na]
	at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:798) ~[na:na]
	at java.base/java.net.Socket$SocketInputStream.implRead(Socket.java:974) ~[na:na]
	at java.base/java.net.Socket$SocketInputStream.read(Socket.java:964) ~[na:na]
	at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:182) ~[mongodb-driver-core-5.5.1.jar:na]
	at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:824) ~[mongodb-driver-core-5.5.1.jar:na]
	... 11 common frames omitted

2026-04-11T21:39:43.603Z  INFO 2669 --- [RemoteConfig-Test] [xecutorLoop-1-1] i.l.core.protocol.ConnectionWatchdog     : Reconnecting, last destination was localhost/127.0.0.1:32769

Standard error

Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3
WARNING: A Java agent has been loaded dynamically (/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.17.7/fbf3d6d649ed37fc9e9c59480a05be0a26e3c2da/byte-buddy-agent-1.17.7.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release