Skip to content

Commit

Permalink
fix: Resolve Conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware committed Jul 17, 2024
1 parent 624df63 commit 1ad90bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _should_retry(exc: BaseException) -> bool:
for p in projects_iterator
]
projects.extend(_projects)
self.report.num_list_projects = len(projects)
self.report.num_listed_projects = len(projects)
page_token = projects_iterator.next_page_token
if not page_token:
break
Expand Down
2 changes: 1 addition & 1 deletion metadata-ingestion/tests/unit/test_bigquery_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def test_get_projects_list_failure(
caplog.clear()
with caplog.at_level(logging.ERROR):
projects = source._get_projects()
assert len(caplog.records) == 1
assert len(caplog.records) == 2
assert error_str in caplog.records[0].msg
assert len(source.report.failures) == 1
assert projects == []
Expand Down

0 comments on commit 1ad90bb

Please sign in to comment.