Skip to content

_AsyncJob test failure #339

@tswast

Description

@tswast

https://source.cloud.google.com/results/invocations/13cec9de-6f0f-4392-a32b-075930bd6c99/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigquery%2Fpresubmit%2Fpresubmit/log

___________________ Test_AsyncJob.test_result_retry_to_done ____________________

self = <tests.unit.test_job.Test_AsyncJob testMethod=test_result_retry_to_done>

    def test_result_retry_to_done(self):
        client = _make_client(project=self.PROJECT)
        job = self._make_one(self.JOB_ID, client)
        done = job.done = mock.Mock()
        retry = mock.Mock()

>       job.result(retry=retry)

tests/unit/test_job.py:999:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
google/cloud/bigquery/job.py:819: in result
    self._begin(retry=retry, timeout=timeout)
google/cloud/bigquery/job.py:631: in _begin
    data=self.to_api_repr(),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <google.cloud.bigquery.job._AsyncJob object at 0x7fc21b43bcd0>

    def to_api_repr(self):
        """Generate a resource for the job."""
>       raise NotImplementedError("Abstract")
E       NotImplementedError: Abstract

google/cloud/bigquery/job.py:591: NotImplementedError

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions