Skip to content

Fix broken tests and get build back to green#47

Merged
cqian23 merged 1 commit into
cloudspannerecosystem:mainfrom
smukil:fix_broken_tests
Jun 12, 2025
Merged

Fix broken tests and get build back to green#47
cqian23 merged 1 commit into
cloudspannerecosystem:mainfrom
smukil:fix_broken_tests

Conversation

@smukil
Copy link
Copy Markdown
Collaborator

@smukil smukil commented Jun 11, 2025

  1. MagicsTest.test_spanner_graph_magic_with_empty_cell:

    • Added check for empty cell in magics.py to fix
    • Hung test fixed by adding tearDown method
  2. ConversionTest.test_get_nodes_edges():

    • Incorrect use of DB.execute_query() API. Fixed
  3. GraphEntitiesTest.test_add_edge_to_graph():

    • Wrong type in assertion. Changed from 'int' to 'str'
  4. SampleNotebookTest.test_notebook_cells():

    • Wrong assertion (formatting)
    • Hung test fixed by adding tearDown method
  5. GraphServerTest (multiple failures):

    • Formatting issue. Changed ''' to " in execute_node_expansion()

1. MagicsTest.test_spanner_graph_magic_with_empty_cell:
    - Added check for empty cell in magics.py to fix
    - Hung test fixed by adding tearDown method
2. ConversionTest.test_get_nodes_edges():
    - Incorrect use of DB.execute_query() API. Fixed

3. GraphEntitiesTest.test_add_edge_to_graph():
    - Wrong type in assertion. Changed from 'int' to 'str'

4. SampleNotebookTest.test_notebook_cells():
    - Wrong assertion (formatting)
    - Hung test fixed by adding tearDown method

5. GraphServerTest (multiple failures):
    - Formatting issue. Changed expected formatting in tests to include
      "'''" around properties
@smukil smukil force-pushed the fix_broken_tests branch from cd33d5b to 4034730 Compare June 12, 2025 02:47
@cqian23 cqian23 merged commit 9821745 into cloudspannerecosystem:main Jun 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants