File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ def test_query_with_large_narrow_result_set(self):
83
83
assert row [0 ] == row_id
84
84
85
85
def test_long_running_query (self ):
86
- """Incrementally increase query size until it takes at least 5 minutes,
86
+ """Incrementally increase query size until it takes at least 4 minutes,
87
87
and asserts that the query completes successfully.
88
88
"""
89
89
minutes = 60
90
- min_duration = 5 * minutes
90
+ min_duration = 4 * minutes
91
91
92
92
duration = - 1
93
93
scale0 = 10000
@@ -113,5 +113,5 @@ def test_long_running_query(self):
113
113
duration = time .time () - start
114
114
current_fraction = duration / min_duration
115
115
print ("Took {} s with scale factor={}" .format (duration , scale_factor ))
116
- # Extrapolate linearly to reach 5 min and add 50% padding to push over the limit
116
+ # Extrapolate linearly to reach 4 min and add 50% padding to push over the limit
117
117
scale_factor = math .ceil (1.5 * scale_factor / current_fraction )
You can’t perform that action at this time.
0 commit comments