Skip to content

Commit 13db2d8

Browse files
authored
skip flaky test for now (#359)
* skip flaky test for now * flake * more flaky tests
1 parent 3683bbe commit 13db2d8

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

tests/test_annotation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@ def test_category_gt_upload_ignore(dataset):
550550
)
551551

552552

553+
# TODO(drake): investigate why this only flakes in circleci
554+
@pytest.mark.skip(reason="Flaky test")
553555
def test_default_category_gt_upload_update(dataset):
554556
annotation = CategoryAnnotation.from_json(
555557
TEST_DEFAULT_CATEGORY_ANNOTATIONS[0]

tests/test_autotag.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def test_export_embeddings(CLIENT):
6262
assert "reference_id" in embeddings[0]
6363

6464

65+
# TODO(drake): investigate why this only flakes in circleci
66+
@pytest.mark.skip(reason="Flaky test")
6567
def test_dataset_export_autotag_tagged_items(CLIENT):
6668
# This test can only run for the test user who has an indexed dataset.
6769
# TODO: if/when we can create autotags via api, create one instead.

tests/test_segmentation.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import pytest
2+
13
from nucleus.annotation import SegmentationAnnotation
24
from nucleus.dataset import Dataset
35
from nucleus.model import Model
@@ -27,6 +29,8 @@ def test_segmentation_pred_upload_local(dataset: Dataset, model: Model):
2729
assert response == prediction
2830

2931

32+
# TODO(drake): investigate why this only flakes in circleci
33+
@pytest.mark.skip(reason="Flaky test")
3034
def test_segmentation_pred_upload(dataset: Dataset, model: Model):
3135
prediction = SegmentationPrediction.from_json(
3236
TEST_SEGMENTATION_PREDICTIONS[0]
@@ -46,6 +50,8 @@ def test_segmentation_pred_upload(dataset: Dataset, model: Model):
4650
)
4751

4852

53+
# TODO(drake): investigate why this only flakes in circleci
54+
@pytest.mark.skip(reason="Flaky test")
4955
def test_segmentation_pred_upload_ignore(dataset: Dataset, model: Model):
5056
prediction = SegmentationPrediction.from_json(
5157
TEST_SEGMENTATION_PREDICTIONS[0]

tests/test_slice.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def slc(CLIENT, dataset):
3535
CLIENT.delete_slice(slc.id)
3636

3737

38+
# TODO(drake): investigate why this only flakes in circleci
39+
@pytest.mark.skip(reason="Flaky test")
3840
def test_slice_create_and_delete_and_list(dataset: Dataset):
3941
ds_items = dataset.items
4042

@@ -107,6 +109,8 @@ def get_expected_item(reference_id):
107109
] == get_expected_box_annotation(reference_id)
108110

109111

112+
# TODO(drake): investigate why this only flakes in circleci
113+
@pytest.mark.skip(reason="Flaky test")
110114
def test_slice_create_and_prediction_export(dataset, slc, model):
111115
# Dataset upload
112116
ds_items = dataset.items

0 commit comments

Comments
 (0)