Skip to content

Commit df5b4e4

Browse files
tytalustytalus
authored andcommitted
changing error message
1 parent e0d9b3a commit df5b4e4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/integration/test_data_rows.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,10 +636,7 @@ def test_data_row_bulk_creation_with_same_global_keys(dataset, sample_image):
636636
assert task.status == "FAILED"
637637
assert len(task.failed_data_rows) > 0
638638
assert len(list(dataset.data_rows())) == 0
639-
errorMsg = ("Failed to create data rows after 5 retries. "
640-
"This chunk's data rows will not be imported. "
641-
"Retry by appending them to the dataset.")
642-
assert task.errors == errorMsg
639+
assert task.errors == "Import job failed"
643640

644641
task = dataset.create_data_rows([{
645642
DataRow.row_data: sample_image,

0 commit comments

Comments
 (0)