Commit a2c0672
committed
fix(test): Fix io_engine related tests
Ensure all io_engine related tests run with both the sync and the async
io_engine.
Prior to 4.14 deprecation, some tests used the following logic to
determine whether the Async engine or the Sync engine should be tested:
If io_uring is supported (e.g. host_kernel != 4.14) then use Async
Else use Sync
This meant we were running with the Async engine on 5.10 and 6.1, and
with the Sync engine on 4.14. However, once 4.14 went out of support,
this meant that tests employing this logic only ever tested the Async
engine anymore. Fix this by having all these tests always run with both
Sync and Async engines, independently of host kernel version.
Also remove all logic around checking whether io_uring is supported,
because it definitely is supported on all currently supported host
kernels.
Signed-off-by: Patrick Roy <[email protected]>1 parent 656399a commit a2c0672
File tree
4 files changed
+11
-45
lines changed- tests
- framework
- integration_tests/functional
4 files changed
+11
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
391 | 389 | | |
392 | 390 | | |
393 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
519 | 517 | | |
520 | 518 | | |
521 | 519 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | 520 | | |
534 | 521 | | |
535 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 66 | + | |
84 | 67 | | |
85 | 68 | | |
86 | 69 | | |
87 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
88 | 73 | | |
89 | 74 | | |
90 | 75 | | |
| |||
732 | 717 | | |
733 | 718 | | |
734 | 719 | | |
735 | | - | |
| 720 | + | |
736 | 721 | | |
737 | 722 | | |
738 | 723 | | |
| |||
749 | 734 | | |
750 | 735 | | |
751 | 736 | | |
752 | | - | |
| 737 | + | |
753 | 738 | | |
754 | 739 | | |
755 | 740 | | |
| |||
763 | 748 | | |
764 | 749 | | |
765 | 750 | | |
766 | | - | |
| 751 | + | |
767 | 752 | | |
768 | 753 | | |
769 | 754 | | |
| |||
789 | 774 | | |
790 | 775 | | |
791 | 776 | | |
792 | | - | |
| 777 | + | |
793 | 778 | | |
794 | 779 | | |
795 | 780 | | |
| |||
899 | 884 | | |
900 | 885 | | |
901 | 886 | | |
902 | | - | |
| 887 | + | |
903 | 888 | | |
904 | 889 | | |
905 | 890 | | |
| |||
0 commit comments