Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Skip jobs integration tests #288

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions test/integ_tests/test_create_local_quantum_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from braket.jobs.local import LocalQuantumJob


@pytest.mark.skip()
def test_completed_local_job(aws_session, capsys):
"""Asserts the job is completed with the respective files and folders for logs,
results and checkpoints. Validate the results are what we expect. Also,
Expand Down Expand Up @@ -102,6 +103,7 @@ def test_completed_local_job(aws_session, capsys):
os.chdir(current_dir)


@pytest.mark.skip()
def test_failed_local_job(aws_session, capsys):
"""Asserts the job is failed with the output, checkpoints not created in bucket
and only logs are populated. Validate the calling result function raises
Expand Down
4 changes: 4 additions & 0 deletions test/integ_tests/test_create_quantum_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
import tempfile
from pathlib import Path

import pytest

from braket.aws.aws_quantum_job import AwsQuantumJob


@pytest.mark.skip()
def test_failed_quantum_job(aws_session, capsys):
"""Asserts the job is failed with the output, checkpoints,
tasks not created in bucket and only input is uploaded to s3. Validate the
Expand Down Expand Up @@ -75,6 +78,7 @@ def test_failed_quantum_job(aws_session, capsys):
)


@pytest.mark.skip()
def test_completed_quantum_job(aws_session, capsys):
"""Asserts the job is completed with the output, checkpoints, tasks and
script folder created in S3 for respective job. Validate the results are
Expand Down