Skip to content

Commit 0e5edd0

Browse files
author
Matt Sokoloff
committed
update test
1 parent 3e1bdfd commit 0e5edd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration/test_data_rows.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ def test_data_row_large_bulk_creation(dataset, image_url):
6161
task = dataset.create_data_rows([{
6262
DataRow.row_data: image_url
6363
}] * 750 + [fp.name] * 250)
64-
assert task.status == "IN_PROGRESS"
64+
assert task.status in {"IN_PROGRESS", "COMPLETE"}
6565
task.wait_till_done(timeout_seconds=120)
6666
assert task.status == "COMPLETE"
67-
data_rows = len(list(dataset.data_rows())) == 5003
6867

6968

7069
@pytest.mark.xfail(reason="DataRow.dataset() relationship not set")

0 commit comments

Comments
 (0)