-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Write-stall] Add e2e tests - 2 (#2798)
* add tests for default chunk transfer timeout * add more e2e tests * fix tests * remove proxy log * update readme * lint fix * review comment * update readme * update readme * remove log file * review comment * adding comment * remove unnecessary change * optimize the logic * small fix * small fix
- Loading branch information
Showing
4 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tools/integration_tests/emulator_tests/proxy_server/configs/write_stall_twice_40s.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
targetHost: http://localhost:9000 | ||
retryConfig: | ||
- method: JsonCreate | ||
retryInstruction: "stall-for-40s-after-15360K" | ||
retryCount: 2 | ||
# To add forced error scenarios for resumable uploads, we need to define skipCount two. | ||
# This is because the first POST request creates the file in our tests, and the second POST request only initiates | ||
# the resumable upload request. Subsequent requests actually upload the data, and it's | ||
# these requests we want to stall for testing. | ||
skipCount: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters