Automated fail to acquire lock for invalid segment data type flag
changes:
- Test case "Fail To Acquire Lock For Invalid Segment Data Type Flag"
Change-Id: If5018c730d4c715a48510c7fb03d584f4abcae6c
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/data/resource_lock_table.json b/data/resource_lock_table.json
index b6de70b..6c10771 100644
--- a/data/resource_lock_table.json
+++ b/data/resource_lock_table.json
@@ -182,6 +182,42 @@
"SegmentLength": 1
}]
},
+ "ReadCase15": {
+ "Read": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": "3"
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": 1
+ }]
+ },
+ "ReadCase16": {
+ "Read": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": 3
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": "1"
+ }]
+ },
+ "ReadCase17": {
+ "Read": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": "Three"
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": 1
+ }]
+ },
+ "ReadCase18": {
+ "Read": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": 3
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": "One"
+ }]
+ },
"WriteCase1": {
"write": [{
"LockFlag": "DontLock",
@@ -304,6 +340,42 @@
"LockFlag": "LockAll",
"SegmentLength": 1
}]
+ },
+ "WriteCase15": {
+ "Write": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": "3"
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": 1
+ }]
+ },
+ "WriteCase16": {
+ "Write": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": 3
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": "1"
+ }]
+ },
+ "WriteCase17": {
+ "Write": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": "Three"
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": 1
+ }]
+ },
+ "WriteCase18": {
+ "Write": [{
+ "LockFlag": "DontLock",
+ "SegmentLength": 3
+ }, {
+ "LockFlag": "LockAll",
+ "SegmentLength": "One"
+ }]
}
}
}