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:
liaozd 2017-02-15 22:20:54 +08:00
parent d2e722881c
commit 372f1ee084

View File

@ -492,7 +492,7 @@ def data(TEST):
"creation_time": "2016-02-21T04:02:54",
"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)