Skip to content

Commit 7299164

Browse files
committed
fix test
1 parent d7c2610 commit 7299164

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

samples/samples/snippets_test.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,13 +680,20 @@ def test_write_with_dml_transaction(capsys, instance_id, sample_database):
680680

681681

682682
@pytest.mark.dependency(depends=["add_column"])
683-
def update_data_with_partitioned_dml(capsys, instance_id, sample_database):
683+
def test_update_data_with_partitioned_dml(capsys, instance_id, sample_database):
684684
snippets.update_data_with_partitioned_dml(instance_id, sample_database.database_id)
685685
out, _ = capsys.readouterr()
686686
assert "3 record(s) updated" in out
687687

688688

689-
@pytest.mark.dependency(depends=["insert_with_dml"])
689+
@pytest.mark.dependency(
690+
depends=[
691+
"insert_with_dml",
692+
"dml_write_read_transaction",
693+
"log_commit_stats",
694+
"set_max_commit_delay",
695+
]
696+
)
690697
def test_delete_data_with_partitioned_dml(capsys, instance_id, sample_database):
691698
snippets.delete_data_with_partitioned_dml(instance_id, sample_database.database_id)
692699
out, _ = capsys.readouterr()

0 commit comments

Comments
 (0)