Skip to content

Commit

Permalink
Only test docker on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Oct 7, 2023
1 parent 0173e16 commit 821da8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions conda-store-server/tests/test_app_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

from celery.result import AsyncResult
from conda_store_server import api, schema

Expand Down Expand Up @@ -67,8 +69,9 @@ def test_conda_store_register_environment_workflow(db, conda_store, celery_worke
task = AsyncResult(f"build-{build.id}-conda-pack")
task.wait(timeout=60)

task = AsyncResult(f"build-{build.id}-docker")
task.wait(timeout=2 * 60)
if sys.platform == "linux":
task = AsyncResult(f"build-{build.id}-docker")
task.wait(timeout=2 * 60)

db.expire_all()
assert build.status == schema.BuildStatus.COMPLETED
Expand Down

0 comments on commit 821da8f

Please sign in to comment.