Commit cf79fab
[smithy-rs] 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 <[email protected]>1 parent 96dacd2 commit cf79fab
File tree
3 files changed
+3
-5
lines changed- sdk/aws-sigv4
- src/http_request
3 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
2458 | 2458 | | |
2459 | 2459 | | |
2460 | 2460 | | |
2461 | | - | |
| 2461 | + | |
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
| |||
0 commit comments