We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e80220 commit 0744522Copy full SHA for 0744522
integration/test_jobs.py
@@ -2,6 +2,7 @@
2
3
from collections import Counter
4
from datetime import datetime
5
+from time import sleep
6
7
import pandas as pd
8
import pytest
@@ -273,6 +274,13 @@ def test_get_results_for_incomplete_execute(
273
274
275
incomplete_results = qnx.jobs.results(execute_job_ref, allow_incomplete=True)
276
277
+ # wait for the ZZPhase circuit execution to complete
278
+ for _ in range(10):
279
+ incomplete_results = qnx.jobs.results(execute_job_ref, allow_incomplete=True)
280
+ if len(incomplete_results) > 0:
281
+ break
282
+ sleep(10)
283
+
284
# we expect the CX circuit to fail on H1-1LE, but the ZZPhase circuit should succeed
285
assert len(incomplete_results) == 1
286
0 commit comments