Use new introspection data save command in exercise.sh
Change-Id: I28158449526dc702e0381cce558cf63c8634b5b8
This commit is contained in:
parent
b7c61dee01
commit
6dd0de04f8
@ -117,7 +117,7 @@ openstack baremetal introspection rule purge
|
|||||||
|
|
||||||
function test_swift {
|
function test_swift {
|
||||||
# Basic sanity check of the data stored in Swift
|
# Basic sanity check of the data stored in Swift
|
||||||
stored_data_json=$(curl_ins GET v1/introspection/$uuid/data)
|
stored_data_json=$(openstack baremetal introspection data save $uuid)
|
||||||
stored_cpu_arch=$(echo $stored_data_json | jq -r '.cpu_arch')
|
stored_cpu_arch=$(echo $stored_data_json | jq -r '.cpu_arch')
|
||||||
echo CPU arch for $uuid from stored data: $stored_cpu_arch
|
echo CPU arch for $uuid from stored data: $stored_cpu_arch
|
||||||
if [ "$stored_cpu_arch" != "$expected_cpu_arch" ]; then
|
if [ "$stored_cpu_arch" != "$expected_cpu_arch" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user