Commit 5edda35
Add some utilties to run search queries in parallel in ITs (elastic#115590)
We have loads of tests that assert the same thing about a number of
different queries. This introduces some tooling to run some of these
spots in parallel.
I only changed a couple of examples in the tests for now, but in general
this could be used to save thousands of lines of test code and more
importantly, get some coverage on parallel query execution which is
covered very little today.1 parent caebaab commit 5edda35
File tree
6 files changed
+161
-269
lines changed- plugins/mapper-size/src/internalClusterTest/java/org/elasticsearch/index/mapper/size
- server/src/internalClusterTest/java/org/elasticsearch/search
- query
- routing
- suggest
- test/framework/src/main/java/org/elasticsearch/test/hamcrest
6 files changed
+161
-269
lines changedLines changed: 7 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 143 | | |
146 | | - | |
| 144 | + | |
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
| |||
156 | 154 | | |
157 | 155 | | |
158 | 156 | | |
159 | | - | |
| 157 | + | |
| 158 | + | |
160 | 159 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 160 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 161 | + | |
172 | 162 | | |
173 | 163 | | |
174 | 164 | | |
Lines changed: 9 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
772 | 773 | | |
773 | 774 | | |
774 | 775 | | |
| 776 | + | |
775 | 777 | | |
776 | 778 | | |
777 | 779 | | |
778 | 780 | | |
779 | 781 | | |
780 | 782 | | |
781 | 783 | | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | 784 | | |
788 | 785 | | |
789 | 786 | | |
790 | 787 | | |
791 | 788 | | |
792 | 789 | | |
793 | | - | |
794 | | - | |
| 790 | + | |
795 | 791 | | |
796 | 792 | | |
797 | 793 | | |
| |||
828 | 824 | | |
829 | 825 | | |
830 | 826 | | |
831 | | - | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
832 | 831 | | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | 832 | | |
840 | 833 | | |
841 | 834 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
| 835 | + | |
849 | 836 | | |
850 | 837 | | |
851 | 838 | | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | 839 | | |
859 | 840 | | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
| 841 | + | |
865 | 842 | | |
866 | 843 | | |
867 | 844 | | |
| |||
0 commit comments