Skip to content

Bigquery Testcases are Failing #2149

@kavinkumar807

Description

@kavinkumar807

Describe the bug
While running the testcases in the main branch using pytest ./tests/unittests command some bigquery test cases are failing.

To Reproduce
Steps to reproduce the behavior:

  1. Switch to main branch
  2. Run pytest ./tests/unittests
  3. In the terminal See error
============================================================================== short test summary info ==============================================================================
FAILED tests/unittests/tools/bigquery/test_bigquery_query_tool.py::test_execute_sql_declaration_write[GOOGLE_AI-explicit-all-write] - assert 'Run a BigQue...E MODEL".\n  ' == 'Run a BigQue...REATE MODEL".'
FAILED tests/unittests/tools/bigquery/test_bigquery_query_tool.py::test_execute_sql_declaration_write[VERTEX-explicit-all-write] - assert 'Run a BigQue...E MODEL".\n  ' == 'Run a BigQue...REATE MODEL".'
FAILED tests/unittests/tools/bigquery/test_bigquery_query_tool.py::test_execute_sql_declaration_protected_write[GOOGLE_AI-explicit-protected-write] - AssertionError: assert 'Run a BigQue...ting one.\n  ' == 'Run a BigQue...deleting one.'
FAILED tests/unittests/tools/bigquery/test_bigquery_query_tool.py::test_execute_sql_declaration_protected_write[VERTEX-explicit-protected-write] - AssertionError: assert 'Run a BigQue...ting one.\n  ' == 'Run a BigQue...deleting one.'
============================================================= 4 failed, 3724 passed, 2109 warnings in 176.86s (0:02:56) =============================================================

Expected behavior
All Testcases are getting executed and passed

Screenshots
Image

Desktop (please complete the following information):

  • OS: macOs - 15.5
  • Python version: 3.13
  • ADK version(pip show google-adk): 1.7.0

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK bottools[Component] This issue is related to tools

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions