Skip to content

Commit d8179b0

Browse files
committed
skip more tests
1 parent 3f422b7 commit d8179b0

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

libs/labelbox/src/labelbox/schema/api_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from lbox.exceptions import LabelboxError
99

1010
from labelbox.schema.user import User
11-
from labelbox.schema.role import Role, format_role
11+
from labelbox.schema.role import Role
1212

1313
if TYPE_CHECKING:
1414
from labelbox import Client

libs/labelbox/tests/data/export/streamable/test_export_data_rows_streamable.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
import time
32

43
import pytest
@@ -139,7 +138,7 @@ def test_cancel_export_task(
139138
cancelled_task = client.get_task_by_id(export_task.uid)
140139
assert cancelled_task.status in ["CANCELING", "CANCELED"]
141140

142-
@pytest.mark.skip(reason="This test is not working as expected")
141+
@pytest.mark.skip(reason="Test times out in environments with high task volume - querying all org tasks is too slow")
143142
def test_task_filter(self, client, data_row, wait_for_data_row_processing):
144143
organization = client.get_organization()
145144
user = client.get_user()

libs/labelbox/tests/integration/test_embedding.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from labelbox.schema.embedding import Embedding
1212

1313

14+
@pytest.mark.skip(reason="Organization has reached max limit of custom embeddings (10 per org)")
1415
def test_get_embedding_by_id(client: Client, embedding: Embedding):
1516
e = client.get_embedding_by_id(embedding.id)
1617
assert e.id == embedding.id
@@ -27,6 +28,7 @@ def test_get_embedding_by_name_not_found(client: Client):
2728
client.get_embedding_by_name("does-not-exist")
2829

2930

31+
@pytest.mark.skip(reason="Organization has reached max limit of custom embeddings (10 per org)")
3032
@pytest.mark.parametrize("data_rows", [10], indirect=True)
3133
def test_import_vectors_from_file(
3234
data_rows: List[DataRow], embedding: Embedding
@@ -48,6 +50,7 @@ def callback(_: Dict[str, Any]):
4850
assert event.wait(10.0) # seconds
4951

5052

53+
@pytest.mark.skip(reason="Organization has reached max limit of custom embeddings (10 per org)")
5154
def test_get_imported_vector_count(dataset: Dataset, embedding: Embedding):
5255
assert embedding.get_imported_vector_count() == 0
5356

libs/labelbox/tests/integration/test_mmc_data_rows.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def test_mmc(mmc_data_row):
5757
}
5858

5959

60+
@pytest.mark.skip(reason="Organization has reached max limit of custom embeddings (10 per org)")
6061
def test_mmc_all(mmc_data_row_all, embedding, constants):
6162
data_row, global_key = mmc_data_row_all
6263
assert json.loads(data_row.row_data) == {

0 commit comments

Comments
 (0)