Commit cfeae55
committed
Enforce verbatim response fetching in HttpWaitStrategy (#7326)
- Fix line ending truncation during response fetching
- Fix unintended newline appending in the nc test container command
Signed-off-by: Ivan Kropotin <102463202+ivankrn@users.noreply.github.com>1 parent 2ac3c97 commit cfeae55
2 files changed
Lines changed: 42 additions & 14 deletions
File tree
- core/src
- main/java/org/testcontainers/containers/wait/strategy
- test/java/org/testcontainers/junit/wait/strategy
Lines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
| 410 | + | |
415 | 411 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 412 | + | |
| 413 | + | |
420 | 414 | | |
421 | | - | |
422 | 415 | | |
423 | 416 | | |
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
237 | 240 | | |
238 | 241 | | |
239 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
240 | 275 | | |
241 | 276 | | |
242 | 277 | | |
| |||
279 | 314 | | |
280 | 315 | | |
281 | 316 | | |
282 | | - | |
| 317 | + | |
283 | 318 | | |
284 | 319 | | |
285 | 320 | | |
| |||
0 commit comments