Commit 96156f7
committed
Try fix occasional benchmark file decompression failures
For longer running benchmarks we download an xz compressed archive
containing debug data for a certain kernel version. In recent times the
decompression has started failing in CI, for no apparent reason. Local
reproduction has failed.
Looking at the code, it seems possible that we experienced short write
during download and then discarded the unwritten rest. Switch from using
std::io::Write::write() to std::io::Write::write_all() in an attempt to
fix this issues.
Signed-off-by: Daniel Müller <deso@posteo.net>1 parent e650f41 commit 96156f7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
922 | | - | |
| 922 | + | |
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
| |||
0 commit comments