Searched defs:retry (Results 1 - 25 of 87) sorted by relevance

1234

/external/testng/src/main/java/org/testng/
H A DIRetryAnalyzer.java4 * Interface to implement to be able to have a chance to retry a failed test.
17 public boolean retry(ITestResult result); method in interface:IRetryAnalyzer
/external/testng/src/test/java/test/tmp/
H A DRetryAnalyzer.java9 public boolean retry(ITestResult result) { method in class:RetryAnalyzer
10 System.out.println("retry()");
/external/autotest/tko/
H A Ddb_mysql.py4 from autotest_lib.client.common_lib.cros import retry namespace
7 @retry.retry(db._get_error_class("OperationalError"), timeout_min=2,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
H A Dutil.py43 def retry(ExceptionToCheck, tries=4, delay=3, backoff=2, logger=None): function
47 https://github.com/saltycrane/retry-decorator
49 https://github.com/saltycrane/retry-decorator/blob/master/LICENSE
54 :param tries: number of times to try (not retry) before giving up
59 each retry
H A Dtestcase.py33 from tests.integration.gs.util import retry namespace
50 @retry(GSResponseError)
/external/chromium-trace/catapult/third_party/gsutil/third_party/retry-decorator/retry_decorator/
H A Dretry_decorator.py11 def retry(ExceptionToCheck, tries=10, timeout_secs=1.0, logger=None): function
/external/testng/src/main/java/org/testng/util/
H A DRetryAnalyzerCount.java16 // Default retry once.
38 public boolean retry(ITestResult result) { method in class:RetryAnalyzerCount
/external/autotest/client/common_lib/cros/
H A Dretry.py114 def retry(ExceptionToCheck, timeout_min=1.0, delay_sec=3, blacklist=None): function
121 If the retry is done in a child thread, timeout may not be enforced as
122 signal only works in main thread. Therefore, the retry inside a child
126 http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/
H A Dretry_unittest.py7 """Unit tests for client/common_lib/cros/retry.py."""
15 from autotest_lib.client.common_lib.cros import retry namespace
20 """Unit tests for retry decorators.
34 @retry.retry(Exception)
44 """Tests that a wrapped function can retry and succeed."""
46 @retry.retry(Exception, delay_sec=delay_sec)
62 @retry.retry(Exceptio
[all...]
/external/autotest/server/site_tests/network_WiFi_RoamDbus/
H A Dnetwork_WiFi_RoamDbus.py41 def retry(self, func, reason, timeout_seconds=TIMEOUT_SECONDS): member in class:network_WiFi_RoamDbus
85 self.retry(lambda: self.dut_sees_bss(bssid1), 'DUT to see second AP')
/external/autotest/site_utils/rpm_control_system/
H A Drpm_client.py15 from autotest_lib.client.common_lib.cros import retry namespace
39 timeout, result = retry.timeout(client.queue_request,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/
H A Dexception.py38 retry = False variable in class:ResponseError
48 self.retry and '(Retriable)' or '', doc)
52 retry = True variable in class:RetriableResponseError
/external/autotest/client/cros/multimedia/
H A Dfacade_resource.py10 from autotest_lib.client.common_lib.cros import retry namespace
16 retry_chrome_call = retry.retry(
83 # Trigger retry_chrome_call to retry to retrieve the
/external/autotest/server/cros/dynamic_suite/
H A Dfrontend_wrappers.py10 from autotest_lib.client.common_lib.cros import retry namespace
18 """Compute the number of retry attempts for use with chromite.retry_util.
24 @return: The number of retry attempts in the case of exponential backoff.
54 # exc_retry: We retry if this exception is raised.
79 # call. In that case, use a basic retry which does not enforce timeout
81 @retry.retry(Exception, timeout_min=self.timeout_min,
116 @retry.retry(Exception, timeout_min=self.timeout_min,
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/
H A Dnetwork_WiFi_PMKSACaching.py40 def retry(self, func, reason, timeout_seconds=TIMEOUT_SECONDS): member in class:network_WiFi_PMKSACaching
87 self.retry(lambda: self.dut_sees_bss(bssid1), 'DUT to see second AP')
99 self.retry(lambda: pinger.simple_ping(
/external/autotest/server/hosts/
H A Drpc_server_tracker.py14 from autotest_lib.client.common_lib.cros import retry namespace
147 # retry.retry logs each attempt; calculate delay_sec to
149 @retry.retry((socket.error,
/external/autotest/server/
H A Dsite_crashcollect.py10 from autotest_lib.client.common_lib.cros import retry namespace
109 is_timeout, _ = retry.timeout(
H A Dsubcommand.py6 from autotest_lib.client.common_lib.cros import retry namespace
252 _, result = retry.timeout(self.wait, timeout_sec=timeout)
/external/testng/src/test/java/test/retryAnalyzer/
H A DInvocationCountTest.java115 public boolean retry(ITestResult result) { method in class:InvocationCountTest
124 public boolean retry(ITestResult result) { method in class:InvocationCountTest.ThreeRetries
/external/autotest/server/cros/
H A Dgoofy_client.py16 from autotest_lib.client.common_lib.cros import retry namespace
40 retry.retry decorator hits it's timeout.
48 want to retry the call after recreating the proxy.
51 the retry decorator. Any of these exceptions will result
54 retry the method ignoring any exception in exception_tuple.
57 """Inner retry decorator applied to the method.
61 @return A wrapper function that implements the retry.
64 @retry.retry(exception_tupl
[all...]
H A Dsonic_client_utils.py26 from autotest_lib.client.common_lib.cros import retry namespace
31 # Give all our rpcs about six seconds of retry time. If a longer timeout
32 # is desired one should retry from the caller, this timeout is only meant
33 # to avoid uncontrolled circumstances like network flake, not, say, retry
88 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
110 @retry.retry(RPC_EXCEPTIONS, timeout_min=BASE_REQUEST_TIMEOUT)
114 @raises: Any of the retry exceptions, if we hit the timeout.
123 @retry
[all...]
/external/autotest/server/cros/multimedia/
H A Dremote_facade_factory.py12 from autotest_lib.client.common_lib.cros import retry namespace
117 @retry.retry((socket.error,
/external/fio/
H A Dfilelock.c52 static struct fio_filelock *get_filelock(int trylock, int *retry) argument
64 *retry = 1;
139 int retry = 0; local
141 ff = get_filelock(trylock, &retry);
150 if (retry) {
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DIOHandler.java155 * @param retry -- retry to connect if the other end closed connection
160 int contactPort, String transport, byte[] bytes, boolean retry,
163 int max_retry = retry ? 2 : 1;
159 sendBytes(InetAddress senderAddress, InetAddress receiverAddress, int contactPort, String transport, byte[] bytes, boolean retry, MessageChannel messageChannel) argument
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_upnp_event.c52 unsigned int retry; /* which retry */ member in struct:wps_event_
60 * Leaves data, retry count etc. alone.
128 e->retry++;
129 wpa_printf(MSG_DEBUG, "WPS UPnP: Try address %d", e->retry);
131 if (e->retry >= dl_list_len(&s->addr_list)) {
289 if (itry++ == e->retry)
291 if (itry < e->retry)

Completed in 4783 milliseconds

1234