Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/integration/test_batch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

from labelbox.exceptions import ProcessingWaitTimeout
import pytest
from labelbox import Dataset, Project
Expand Down Expand Up @@ -170,7 +172,8 @@ def test_export_data_rows(project: Project, dataset: Dataset):

data_rows = [dr.uid for dr in list(dataset.export_data_rows())]
batch = project.create_batch("batch test", data_rows)

# allow time for catapult to sync changes to ES
time.sleep(5)
result = list(batch.export_data_rows())
exported_data_rows = [dr.uid for dr in result]

Expand Down