summaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/data
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2024-06-26 14:18:30 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2024-06-27 14:00:10 +0000
commit2bc4942f3a3707a3a136ba671bebc82d93e8fbaa (patch)
tree979e9a032a6b4f2da93120df004332f066651e62 /csit/resources/tests/data
parentbbf5f964ca7c7a2cd330d761b43d47e4b5446800 (diff)
Add fail scenarios in csit
Add fail scenarios (prime, deploy, undeploy, delete and deprime) in csit using participant simulator. Issue-ID: POLICY-5064 Change-Id: I39de4633b7465f857bb00937a0365820c3535bfe Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'csit/resources/tests/data')
-rw-r--r--csit/resources/tests/data/RunningCommand.json5
-rw-r--r--csit/resources/tests/data/SettingSimPropertiesFail.json20
-rw-r--r--csit/resources/tests/data/SettingSimPropertiesSuccess.json20
3 files changed, 40 insertions, 5 deletions
diff --git a/csit/resources/tests/data/RunningCommand.json b/csit/resources/tests/data/RunningCommand.json
deleted file mode 100644
index 56980e64..00000000
--- a/csit/resources/tests/data/RunningCommand.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "instantiationCommand": {
- "orderedState": "RUNNING"
- }
-}
diff --git a/csit/resources/tests/data/SettingSimPropertiesFail.json b/csit/resources/tests/data/SettingSimPropertiesFail.json
new file mode 100644
index 00000000..0c6402bd
--- /dev/null
+++ b/csit/resources/tests/data/SettingSimPropertiesFail.json
@@ -0,0 +1,20 @@
+{
+ "deploySuccess": false,
+ "undeploySuccess": false,
+ "lockSuccess": false,
+ "unlockSuccess": false,
+ "deleteSuccess": false,
+ "updateSuccess": false,
+ "migrateSuccess": false,
+ "primeSuccess": false,
+ "deprimeSuccess": false,
+ "deployTimerMs": 100,
+ "undeployTimerMs": 100,
+ "lockTimerMs": 100,
+ "unlockTimerMs": 100,
+ "updateTimerMs": 100,
+ "migrateTimerMs": 100,
+ "deleteTimerMs": 100,
+ "primeTimerMs": 100,
+ "deprimeTimerMs": 100
+}
diff --git a/csit/resources/tests/data/SettingSimPropertiesSuccess.json b/csit/resources/tests/data/SettingSimPropertiesSuccess.json
new file mode 100644
index 00000000..e0673322
--- /dev/null
+++ b/csit/resources/tests/data/SettingSimPropertiesSuccess.json
@@ -0,0 +1,20 @@
+{
+ "deploySuccess": true,
+ "undeploySuccess": true,
+ "lockSuccess": true,
+ "unlockSuccess": true,
+ "deleteSuccess": true,
+ "updateSuccess": true,
+ "migrateSuccess": true,
+ "primeSuccess": true,
+ "deprimeSuccess": true,
+ "deployTimerMs": 100,
+ "undeployTimerMs": 100,
+ "lockTimerMs": 100,
+ "unlockTimerMs": 100,
+ "updateTimerMs": 100,
+ "migrateTimerMs": 100,
+ "deleteTimerMs": 100,
+ "primeTimerMs": 100,
+ "deprimeTimerMs": 100
+}