)]}'
{"kuryr_tempest_plugin/tests/scenario/base.py":[{"author":{"_account_id":23567,"name":"Luis Tomas Bolivar","email":"ltomasbo@redhat.com","username":"ltomasbo"},"change_message_id":"570e69960d1b6885dd95ed8d21faff1260d34e6f","unresolved":false,"context_lines":[{"line_number":574,"context_line":"            cls.addClassResourceCleanup(cls.delete_service, service_name,"},{"line_number":575,"context_line":"                                        namespace\u003dnamespace)"},{"line_number":576,"context_line":""},{"line_number":577,"context_line":"    def create_namespace(self, name\u003dNone, wait_for_crd_annotation\u003dTrue):"},{"line_number":578,"context_line":"        if not name:"},{"line_number":579,"context_line":"            name \u003d data_utils.rand_name(prefix\u003d\u0027kuryr-namespace\u0027)"},{"line_number":580,"context_line":"        kuryr_crd_annotation \u003d K8S_ANNOTATION_PREFIX + \"-net-crd\""}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_a3b10647","line":577,"range":{"start_line":577,"start_character":25,"end_line":577,"end_character":31},"updated":"2019-11-29 08:31:20.000000000","message":"probably we should unify between cls and self in all the methods, i.e., using self in all of them","commit_id":"5502b4a5dd95774eb8771d1134bc5a207ede383c"},{"author":{"_account_id":23567,"name":"Luis Tomas Bolivar","email":"ltomasbo@redhat.com","username":"ltomasbo"},"change_message_id":"570e69960d1b6885dd95ed8d21faff1260d34e6f","unresolved":false,"context_lines":[{"line_number":586,"context_line":"        self.addCleanup(self.delete_namespace, name)"},{"line_number":587,"context_line":""},{"line_number":588,"context_line":"        # wait until namespace gets populated by Kuryr"},{"line_number":589,"context_line":"        while wait_for_crd_annotation:"},{"line_number":590,"context_line":"            time.sleep(1)"},{"line_number":591,"context_line":"            ns \u003d self.k8s_client.CoreV1Api().read_namespace_status(name)"},{"line_number":592,"context_line":"            if (ns.metadata.annotations and"},{"line_number":593,"context_line":"                    ns.metadata.annotations.get(kuryr_crd_annotation)):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_63854e59","line":590,"range":{"start_line":589,"start_character":0,"end_line":590,"end_character":25},"updated":"2019-11-29 08:31:20.000000000","message":"should we have a number of retries too? to ensure we don\u0027t block here forever?","commit_id":"5502b4a5dd95774eb8771d1134bc5a207ede383c"},{"author":{"_account_id":23567,"name":"Luis Tomas Bolivar","email":"ltomasbo@redhat.com","username":"ltomasbo"},"change_message_id":"570e69960d1b6885dd95ed8d21faff1260d34e6f","unresolved":false,"context_lines":[{"line_number":595,"context_line":""},{"line_number":596,"context_line":"        return name, namespace_obj"},{"line_number":597,"context_line":""},{"line_number":598,"context_line":"    def delete_namespace(self, name, wait_for_deletion\u003dFalse, **kwargs):"},{"line_number":599,"context_line":"        body \u003d self.k8s_client.V1DeleteOptions(**kwargs)"},{"line_number":600,"context_line":"        self.k8s_client.CoreV1Api().delete_namespace(name\u003dname, body\u003dbody)"},{"line_number":601,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_639c6ebf","line":598,"range":{"start_line":598,"start_character":37,"end_line":598,"end_character":60},"updated":"2019-11-29 08:31:20.000000000","message":"as this is just checking k8s side, it most probably should default to true","commit_id":"5502b4a5dd95774eb8771d1134bc5a207ede383c"}],"kuryr_tempest_plugin/tests/scenario/test_namespace.py":[{"author":{"_account_id":23567,"name":"Luis Tomas Bolivar","email":"ltomasbo@redhat.com","username":"ltomasbo"},"change_message_id":"570e69960d1b6885dd95ed8d21faff1260d34e6f","unresolved":false,"context_lines":[{"line_number":366,"context_line":"        ns_name, ns \u003d self.create_namespace(wait_for_crd_annotation\u003dFalse)"},{"line_number":367,"context_line":"        self.create_pod(namespace\u003dns_name, wait_for_status\u003dFalse)"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"        self.delete_namespace(ns_name)"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"        self.create_namespace(name\u003dns_name, wait_for_crd_annotation\u003dFalse)"},{"line_number":372,"context_line":"        pod_name, pod \u003d self.create_pod("}],"source_content_type":"text/x-python","patch_set":2,"id":"3fa7e38b_03a1faf7","line":369,"range":{"start_line":369,"start_character":8,"end_line":369,"end_character":38},"updated":"2019-11-29 08:31:20.000000000","message":"we need to wait until the k8s object is deleted to be able to create a namespace with the same name in line 371","commit_id":"5502b4a5dd95774eb8771d1134bc5a207ede383c"}]}
