)]}'
{"zun_tempest_plugin/tests/tempest/api/test_containers.py":[{"author":{"_account_id":27248,"name":"Prateek Goel","email":"prateek.goel2@tatacommunications.com","username":"prateek.goel"},"change_message_id":"12f911d81f2436ca94a6bbdb0d9d57840d650fae","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        # create another container with the same volume"},{"line_number":254,"context_line":"        _, model \u003d self._run_container(mounts\u003d[{"},{"line_number":255,"context_line":"            \u0027source\u0027: vol_id, \u0027destination\u0027: \u0027/data\u0027}])"},{"line_number":256,"context_line":"        # assert the volume has the data"},{"line_number":257,"context_line":"        resp, body \u003d self.container_client.exec_container("},{"line_number":258,"context_line":"            model.uuid, command\u003d\u0027cat /data/testfile\u0027)"},{"line_number":259,"context_line":"        self.assertEqual(200, resp.status)"},{"line_number":260,"context_line":"        self.assertTrue(\u0027hello\u0027 in encodeutils.safe_decode(body))"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df7087c5_7896fd95","line":258,"range":{"start_line":256,"start_character":8,"end_line":258,"end_character":53},"updated":"2018-03-13 03:52:59.000000000","message":"We may want to check if, the volume is in use before doing cat /data/testfile. I do understand that if the volume is not mounted \"cat cmd\" of that file will return error or some other data and the test case will fail. However, just to catch the error early we could do one additional check.","commit_id":"b5b2cf214dcc454b5c0164c7579ccb4fe56d5b45"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"731fed0ccc3191a7e43f999b331340fd8fc9c157","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        # create another container with the same volume"},{"line_number":254,"context_line":"        _, model \u003d self._run_container(mounts\u003d[{"},{"line_number":255,"context_line":"            \u0027source\u0027: vol_id, \u0027destination\u0027: \u0027/data\u0027}])"},{"line_number":256,"context_line":"        # assert the volume has the data"},{"line_number":257,"context_line":"        resp, body \u003d self.container_client.exec_container("},{"line_number":258,"context_line":"            model.uuid, command\u003d\u0027cat /data/testfile\u0027)"},{"line_number":259,"context_line":"        self.assertEqual(200, resp.status)"},{"line_number":260,"context_line":"        self.assertTrue(\u0027hello\u0027 in encodeutils.safe_decode(body))"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"df7087c5_6e7cd282","line":258,"range":{"start_line":256,"start_character":8,"end_line":258,"end_character":53},"in_reply_to":"df7087c5_7896fd95","updated":"2018-03-14 03:26:42.000000000","message":"Sure. Thanks for the suggestion.","commit_id":"b5b2cf214dcc454b5c0164c7579ccb4fe56d5b45"}]}
