diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2024-10-17 14:08:58 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2024-10-24 12:37:27 +0100 |
commit | 40f7666f1fadcf0103cbb846726e91df1f89c8fe (patch) | |
tree | 2a9853af8733dfff207f76443fdd065ae698c01a /policy-executor-stub/src/main | |
parent | e0c537f4463b6664e108e12962e1f4b34544776c (diff) |
Add multi-threaded Integration Test for Module Sync
- Add tests for multi threaded scenarios around module sync
- Disabled ModuleSyncWatchdog timer using long delay and interval
- Call Module Sync method as needed for more control
(sometimes it needs to be triggered twice like retry use cases as designed)
- Improve NCMP performance test setup (consistent naming etc.)
- Rename some production code method names to better reflect functionality
- Disabled intermittent failing test for create cm handle as it is not asserting the correct message
- Improved Code Coverage ModuleSyncWatchdog
Issue-ID: CPS-2462
Change-Id: Ia907af77d2037309f1bbb73ea671679b788bab9e
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Diffstat (limited to 'policy-executor-stub/src/main')
-rw-r--r-- | policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/Sleeper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/Sleeper.java b/policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/Sleeper.java index 8f904cc5f2..789201ffce 100644 --- a/policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/Sleeper.java +++ b/policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/Sleeper.java @@ -24,8 +24,8 @@ import java.util.concurrent.TimeUnit; import org.springframework.stereotype.Service; /** - * This class is a successfull experiment to extract out sleep functionality so the interrupted exception handling can - * be covered with a test (e.g. using spy ion Sleeper) and help to get too 100% code coverage. + * This class is to extract out sleep functionality so the interrupted exception handling can + * be covered with a test (e.g. using spy on Sleeper) and help to get too 100% code coverage. */ @Service public class Sleeper { |