commit f77b3e30eeeb67c54244def7e50fbb68113379d3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 18 10:19:53 2020 +0000
Catch json.loads exceptions in verify_device_metadata
In case "TaggedBootDevicesTest.verify_device_metadata" "json.loads"
method returns an exception, catch it and return "False". This could
happen if, for example, the string to load is empty.
Because this function is called in an active wait loop, the content
string will be retrieved again and the check retried.
Reviewed: https:/ /review. opendev. org/713612 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=f77b3e30eee b67c54244def7e5 0fbb68113379d3
Committed: https:/
Submitter: Zuul
Branch: master
commit f77b3e30eeeb67c 54244def7e50fbb 68113379d3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 18 10:19:53 2020 +0000
Catch json.loads exceptions in verify_ device_ metadata
In case "TaggedBootDevi cesTest. verify_ device_ metadata" "json.loads"
method returns an exception, catch it and return "False". This could
happen if, for example, the string to load is empty.
Because this function is called in an active wait loop, the content
string will be retrieved again and the check retried.
Change-Id: Id3a5b32f8ab197 bcb1c59b5f6364d de4d8648eab
Closes-Bug: #1867904