File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def test_optional_retry(self):
185185 kwargs = opts .kwargs .copy ()
186186 kwargs .update ({'retries' : 5 })
187187 self .service = client .connect (** kwargs )
188- self .service .restart (timeout = 10 ) # timeout value kept lower than actual time needed for Splunk to restart
188+ self .service .restart (timeout = 15 ) # timeout value kept lower than actual time needed for Splunk to restart
189189 self .assertEqual (self .service .get ("/services" ).status , 200 )
190190
191191
Original file line number Diff line number Diff line change @@ -238,15 +238,15 @@ def restartSplunk(self, timeout=240):
238238 @classmethod
239239 def setUpClass (cls ):
240240 cls .opts = parse ([], {}, ".env" )
241- cls .opts .kwargs .update ({'retries' : 5 })
241+ cls .opts .kwargs .update ({'retries' : 3 })
242242 # Before we start, make sure splunk doesn't need a restart.
243243 service = client .connect (** cls .opts .kwargs )
244244 if service .restart_required :
245245 service .restart (timeout = 120 )
246246
247247 def setUp (self ):
248248 unittest .TestCase .setUp (self )
249- self .opts .kwargs .update ({'retries' : 5 })
249+ self .opts .kwargs .update ({'retries' : 3 })
250250 self .service = client .connect (** self .opts .kwargs )
251251 # If Splunk is in a state requiring restart, go ahead
252252 # and restart. That way we'll be sane for the rest of
You can’t perform that action at this time.
0 commit comments