Skip to content

Commit 5dfa1be

Browse files
committed
Remove retries during system tests for group.
1 parent d205cec commit 5dfa1be

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

system_tests/monitoring.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import time
16-
1715
import unittest2
1816

1917
from gcloud import _helpers
@@ -189,16 +187,7 @@ def setUp(self):
189187

190188
def tearDown(self):
191189
for group in self.to_delete:
192-
backoff_intervals = [1, 2, 4, 8]
193-
while True:
194-
try:
195-
group.delete()
196-
break
197-
except NotFound:
198-
if backoff_intervals:
199-
time.sleep(backoff_intervals.pop(0))
200-
else:
201-
raise
190+
group.delete()
202191

203192
def test_create_group(self):
204193
client = monitoring.Client()

0 commit comments

Comments
 (0)