We intend to add 10 stack_snapshot to the test data but only got 1
the same snapshot 'id' being added to the TestDataContainer in the iteration, so we only got 1 finally. Make the 'id' different for each add() method. Change-Id: Ie62b08c4e898d6ca7c4f75808fcb4119cd92d9ec
This commit is contained in:
parent
d2e722881c
commit
372f1ee084
@ -492,7 +492,7 @@ def data(TEST):
|
|||||||
|
|
||||||
"creation_time": "2016-02-21T04:02:54",
|
"creation_time": "2016-02-21T04:02:54",
|
||||||
"status_reason": "Stack SNAPSHOT completed successfully",
|
"status_reason": "Stack SNAPSHOT completed successfully",
|
||||||
"id": "01558a3b-ba05-4427-bbb4-1e4ab71cfcad"
|
"id": "01558a3b-ba05-4427-bbb4-1e4ab71cfca{0}".format(i)
|
||||||
}
|
}
|
||||||
TEST.stack_snapshot.add(snapshot_data)
|
TEST.stack_snapshot.add(snapshot_data)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user