Commit 587e714
Fix flaky test in aws-sigv4 (#3990)
## Motivation and Context
The test was flaky because all invalid headers are counted as rejects
which can in rare cases exceed the maximum number of failures.
The test was flaky because all invalid headers are counted as rejects
which can in rare cases exceed the maximum number of failures.
## Description
Change the test to assert that the validity status matches instead of
filtering those cases out
## Testing
- cargo test
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
Co-authored-by: ysaito1001 <awsaito@amazon.com>1 parent c0b5ee3 commit 587e714
File tree
3 files changed
+1
-27
lines changed- aws/rust-runtime
- aws-sigv4
- src/http_request
3 files changed
+1
-27
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | | - | |
1036 | | - | |
| 1035 | + | |
1037 | 1036 | | |
1038 | 1037 | | |
1039 | 1038 | | |
| |||
0 commit comments