We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2acb702 commit 48a3d37Copy full SHA for 48a3d37
tests/test_cloud_reco_exceptions.py
@@ -97,7 +97,10 @@ def test_active_matching_targets_delete_processing(
97
)
98
vws_client.wait_for_target_processed(target_id=target_id)
99
vws_client.delete_target(target_id=target_id)
100
- time.sleep(0.2)
+ # This matches the "query_recognizes_deletion_seconds" setting to
101
+ # ``MockVWS``.
102
+ query_recognizes_deletion_seconds = 2
103
+ time.sleep(query_recognizes_deletion_seconds)
104
with pytest.raises(ActiveMatchingTargetsDeleteProcessing):
105
cloud_reco_client.query(image=high_quality_image)
106
0 commit comments