From d52edf30aa644d7eca6d4a1ed83e6fd4cf2e15c5 Mon Sep 17 00:00:00 2001 From: Kshitij Chhabra Date: Mon, 29 Nov 2021 11:13:11 -0800 Subject: [PATCH] fix: Skip jobs integration tests --- test/integ_tests/test_create_local_quantum_job.py | 2 ++ test/integ_tests/test_create_quantum_job.py | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/test/integ_tests/test_create_local_quantum_job.py b/test/integ_tests/test_create_local_quantum_job.py index 838a01329..a2c8f9e6d 100644 --- a/test/integ_tests/test_create_local_quantum_job.py +++ b/test/integ_tests/test_create_local_quantum_job.py @@ -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, @@ -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 diff --git a/test/integ_tests/test_create_quantum_job.py b/test/integ_tests/test_create_quantum_job.py index b88405e60..dc8e7615c 100644 --- a/test/integ_tests/test_create_quantum_job.py +++ b/test/integ_tests/test_create_quantum_job.py @@ -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 @@ -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