@@ -32,7 +32,7 @@ def _wait_for_image_numbers(
32
32
processing_images : int ,
33
33
) -> None :
34
34
"""
35
- Wait up to 500 seconds (arbitrary, though we saw timeouts with 300 seconds)
35
+ Wait up to 700 seconds (arbitrary, though we saw timeouts with 500 seconds)
36
36
for the number of images in various categories to match the expected
37
37
number.
38
38
@@ -60,7 +60,7 @@ def _wait_for_image_numbers(
60
60
"processing_images" : processing_images ,
61
61
}
62
62
63
- maximum_wait_seconds = 500
63
+ maximum_wait_seconds = 700
64
64
start_time = time .monotonic ()
65
65
66
66
# If we wait for all requirements to match at the same time,
@@ -97,14 +97,6 @@ def _wait_for_image_numbers(
97
97
98
98
time .sleep (sleep_seconds )
99
99
100
- # This break makes the entire test invalid.
101
- # However, we have found that without this Vuforia is flaky.
102
- # We have waited over 10 minutes for the summary to change and
103
- # that is not sustainable in a test suite.
104
- # That might be because we think some images will go into a particular
105
- # state but they don't.
106
- break
107
-
108
100
109
101
@pytest .mark .usefixtures ("verify_mock_vuforia" )
110
102
class TestDatabaseSummary :
@@ -132,10 +124,7 @@ def test_success(
132
124
)
133
125
134
126
@staticmethod
135
- def test_active_images (
136
- vws_client : VWS ,
137
- target_id : str ,
138
- ) -> None :
127
+ def test_active_images (vws_client : VWS , target_id : str ) -> None :
139
128
"""
140
129
The number of images in the active state is returned.
141
130
"""
0 commit comments