)]}'
{"nova/tests/functional/notification_sample_tests/test_instance.py":[{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"a77eb3485bba8f9133cae6d5707eb71e0fe82593","unresolved":false,"context_lines":[{"line_number":1534,"context_line":""},{"line_number":1535,"context_line":"        self._volume_swap_server(server, self.cinder.SWAP_ERR_OLD_VOL,"},{"line_number":1536,"context_line":"                                 self.cinder.SWAP_ERR_NEW_VOL)"},{"line_number":1537,"context_line":"        self._wait_until_swap_volume_error()"},{"line_number":1538,"context_line":""},{"line_number":1539,"context_line":"        # Eight versioned notifications are generated. We only rely on the"},{"line_number":1540,"context_line":"        # first seven because _wait_until_swap_volume_error will return True"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_93e820b3","line":1537,"range":{"start_line":1537,"start_character":8,"end_line":1537,"end_character":44},"updated":"2019-02-01 01:54:07.000000000","message":"Here","commit_id":"d4a0e470fe9987950bc84ae2f658232bde8d95c7"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"a77eb3485bba8f9133cae6d5707eb71e0fe82593","unresolved":false,"context_lines":[{"line_number":1577,"context_line":"        tb1 \u003d fake_notifier.VERSIONED_NOTIFICATIONS[6][\u0027payload\u0027]["},{"line_number":1578,"context_line":"            \u0027nova_object.data\u0027][\u0027fault\u0027][\u0027nova_object.data\u0027][\u0027traceback\u0027]"},{"line_number":1579,"context_line":"        self.assertIn(\"_swap_volume\", tb1)"},{"line_number":1580,"context_line":"        # Per the note above, we could race to get the compute.exception"},{"line_number":1581,"context_line":"        # notification so we need to wait for it here."},{"line_number":1582,"context_line":"        for x in range(10):"},{"line_number":1583,"context_line":"            if len(fake_notifier.VERSIONED_NOTIFICATIONS) \u003d\u003d 8:"},{"line_number":1584,"context_line":"                break"},{"line_number":1585,"context_line":"            time.sleep(0.5)"},{"line_number":1586,"context_line":"        else:"},{"line_number":1587,"context_line":"            self.fail(\u0027Timed out waiting for final versioned notification. \u0027"},{"line_number":1588,"context_line":"                      \u0027Got: %s\u0027 % fake_notifier.VERSIONED_NOTIFICATIONS)"},{"line_number":1589,"context_line":"        tb2 \u003d fake_notifier.VERSIONED_NOTIFICATIONS[7][\u0027payload\u0027]["},{"line_number":1590,"context_line":"            \u0027nova_object.data\u0027][\u0027traceback\u0027]"},{"line_number":1591,"context_line":"        self.assertIn(\"_swap_volume\", tb2)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_53a07890","line":1588,"range":{"start_line":1580,"start_character":0,"end_line":1588,"end_character":72},"updated":"2019-02-01 01:54:07.000000000","message":"The following is better.\n\n  self._wait_for_notification(\u0027compute.exception\u0027)\n\nor replace line 1537 with above.","commit_id":"d4a0e470fe9987950bc84ae2f658232bde8d95c7"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"589cd741f6628c0fa72eb64d4b1b6de064e1e6ef","unresolved":false,"context_lines":[{"line_number":1577,"context_line":"        tb1 \u003d fake_notifier.VERSIONED_NOTIFICATIONS[6][\u0027payload\u0027]["},{"line_number":1578,"context_line":"            \u0027nova_object.data\u0027][\u0027fault\u0027][\u0027nova_object.data\u0027][\u0027traceback\u0027]"},{"line_number":1579,"context_line":"        self.assertIn(\"_swap_volume\", tb1)"},{"line_number":1580,"context_line":"        # Per the note above, we could race to get the compute.exception"},{"line_number":1581,"context_line":"        # notification so we need to wait for it here."},{"line_number":1582,"context_line":"        for x in range(10):"},{"line_number":1583,"context_line":"            if len(fake_notifier.VERSIONED_NOTIFICATIONS) \u003d\u003d 8:"},{"line_number":1584,"context_line":"                break"},{"line_number":1585,"context_line":"            time.sleep(0.5)"},{"line_number":1586,"context_line":"        else:"},{"line_number":1587,"context_line":"            self.fail(\u0027Timed out waiting for final versioned notification. \u0027"},{"line_number":1588,"context_line":"                      \u0027Got: %s\u0027 % fake_notifier.VERSIONED_NOTIFICATIONS)"},{"line_number":1589,"context_line":"        tb2 \u003d fake_notifier.VERSIONED_NOTIFICATIONS[7][\u0027payload\u0027]["},{"line_number":1590,"context_line":"            \u0027nova_object.data\u0027][\u0027traceback\u0027]"},{"line_number":1591,"context_line":"        self.assertIn(\"_swap_volume\", tb2)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_ea89d925","line":1588,"range":{"start_line":1580,"start_character":0,"end_line":1588,"end_character":72},"in_reply_to":"9fdfeff1_53a07890","updated":"2019-02-11 15:40:56.000000000","message":"Done","commit_id":"d4a0e470fe9987950bc84ae2f658232bde8d95c7"}]}
