Lines Matching refs:sut
195 sut = shard_client.get_shard_client()
197 sut.do_heartbeat()
207 sut.do_heartbeat()
220 sut.do_heartbeat()
247 sut = shard_client.get_shard_client()
249 sut.do_heartbeat()
257 sut.do_heartbeat()
263 sut.do_heartbeat()
282 sut = shard_client.get_shard_client()
284 original_process_heartbeat_response = sut.process_heartbeat_response
288 sut.process_heartbeat_response = failing_process_heartbeat_response
289 self.assertRaises(RuntimeError, sut.do_heartbeat)
291 sut.process_heartbeat_response = original_process_heartbeat_response
292 sut.do_heartbeat()
293 sut.do_heartbeat()
298 sut.do_heartbeat()
320 sut = shard_client.get_shard_client()
322 original_process_heartbeat_response = sut.process_heartbeat_response
326 sut.process_heartbeat_response = failing_process_heartbeat_response
327 self.assertRaises(RuntimeError, sut.do_heartbeat)
331 sut.process_heartbeat_response = original_process_heartbeat_response
332 sut.do_heartbeat()
333 sut.do_heartbeat()
358 sut = None
361 sut.shutdown()
366 sut = shard_client.get_shard_client()
367 sut.loop(None)
387 sut = shard_client.get_shard_client()
389 sut.loop(lifetime_hours=0.01)
401 sut = shard_client.get_shard_client()
402 sut._remove_incorrect_hosts(incorrect_host_ids=[1])