Fix software config/deployment api tests

There can be other software deployment tests running parallelly and
listing may contain config/deployment from those tests. We should check
for specific config/deployment instead.

Change-Id: Ia44f3999c6c99e44da4f15ef157804c63246cb34
Story: #2002529
Task: #22070
This commit is contained in:
rabi 2018-06-12 09:30:22 +05:30
parent d80552b3ba
commit fe9be18ccf
1 changed files with 2 additions and 2 deletions

View File

@ -63,14 +63,14 @@ tests:
GET: /software_configs
status: 200
response_json_paths:
$.software_configs[0].group: script
$.software_configs[?id = "$RESPONSE['software_deployment.config_id']"].group: script
- name: list software deployments
desc: d26d1e90-4924-11e8-842f-0ed5f89f718b
GET: /software_deployments
status: 200
response_json_paths:
$.software_deployments[0].server_id: dummy_server
$.software_deployments[?id= "$HISTORY['update deployment'].$RESPONSE['software_deployment.id']"].server_id: dummy_server
- name: delete deployment
desc: d26d1fda-4924-11e8-842f-0ed5f89f718b