commit | f77b3e30eeeb67c54244def7e50fbb68113379d3 | [log] [tgz] |
---|---|---|
author | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | Wed Mar 18 10:19:53 2020 +0000 |
committer | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | Thu Apr 16 10:21:47 2020 +0000 |
tree | e3990cd220e184de202513f05d2dded79d8fcfba | |
parent | 4bc12aad2e5ead401b2a2d1d65b1801abd7ff565 [diff] |
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. Change-Id: Id3a5b32f8ab197bcb1c59b5f6364dde4d8648eab Closes-Bug: #1867904