Skip to content

Commit

Permalink
Wait insert_job result in normal mode (#29925)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala committed Mar 5, 2023
1 parent 30b2e6c commit 464ab1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -197,7 +197,7 @@ def _submit_job(
job_id=job_id,
timeout=self.result_timeout,
retry=self.result_retry,
nowait=True,
nowait=self.deferrable,
)

def execute(self, context: Context):
Expand Down
Expand Up @@ -87,7 +87,7 @@ def test_execute(self, mock_hook):
location=None,
timeout=None,
retry=DEFAULT_RETRY,
nowait=True,
nowait=False,
)

@mock.patch("airflow.providers.google.cloud.transfers.bigquery_to_gcs.BigQueryHook")
Expand Down

0 comments on commit 464ab1b

Please sign in to comment.