You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calls fail for a host of transient reasons. In many cases the failures are ones that should be abstracted from customers, e.g. retryable issues. Retry strategies are included in the client library when it's safe to do so. These retry strategies are complex and need automated tests to ensure they work and continue to work in the future.
4
+
5
+
The Retry Strategy Conformance tests will ensure that retries are aligned across languages and operations are retried as specified.
6
+
7
+
## Test Suite Overview
8
+
9
+
The Retry Strategy Conformance tests leverage the conformance tests defined in [googleapis/conformance-tests](https://github.com/googleapis/conformance-tests/blob/master/storage/v1/retry_tests.json) to ensure adherence to expected behaviors.
10
+
11
+
The test suite uses the [storage-testbench](https://github.com/googleapis/storage-testbench)
12
+
to configure and generate tests cases which use fault injection to ensure conformance.
13
+
14
+
## Running the Conformance Test Suite
15
+
16
+
#### Prerequisites
17
+
1. Python 3.8
18
+
2. Nox
19
+
3. Docker
20
+
21
+
The Retry Strategy Conformance test suite is included in [`noxfile.py`](https://github.com/googleapis/python-storage/blob/main/noxfile.py) and run automatically as part of the Kokoro presubmits:
22
+
1. Running the testbench server via docker
23
+
2. Setup, validation, cleanup of individual test cases with the testbench
0 commit comments