Commit 67ad9b5
authz tests: delay response in context cancelled scenario
The net/http transport checks for immediate response when
its handling context cancellation. The unit test was racing
with this check by responding too fast.
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
Kubernetes-commit: d74bd66e9ea17ff5ad86d61d25d7f6206eaa66c21 parent 3cd3d02 commit 67ad9b5
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
113 | 120 | | |
114 | 121 | | |
115 | 122 | | |
| |||
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
123 | 133 | | |
124 | 134 | | |
125 | 135 | | |
| |||
0 commit comments