Skip to content

Commit 173552a

Browse files
authored
attempt fix for circleci race conditions (#350)
1 parent 034699d commit 173552a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/test_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ def test_job_listing_and_retrieval(CLIENT):
3434

3535
fetch_id = jobs[0].job_id
3636
fetched_job = CLIENT.get_job(fetch_id)
37-
assert fetched_job.status() == jobs[0].status()
37+
assert fetched_job == jobs[0]

tests/test_segmentation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ def test_segmentation_pred_upload_ignore(dataset: Dataset, model: Model):
5050
prediction = SegmentationPrediction.from_json(
5151
TEST_SEGMENTATION_PREDICTIONS[0]
5252
)
53-
response1 = dataset.upload_predictions(model, [prediction])
54-
55-
assert response1["predictions_processed"] == 1
53+
dataset.upload_predictions(model, [prediction])
5654

5755
# Upload Duplicate annotation
5856
response = dataset.upload_predictions(model, [prediction])

0 commit comments

Comments
 (0)