Commit 5ee6f14
committed
Fix test scenario compatibility issues
- Use FieldValue.of() instead of query(String) for 7.x compatibility
(query(String) shorthand only exists in 8.0+)
- Fix 8.16/8.17 versions: use 8.16.6/8.17.10 to match available
elasticsearch-rest-client versions
- Fix 9.x versions: use 9.0.8/9.1.10/9.2.8/9.3.3 to match available
elasticsearch-rest-client versions
- All 29 versions verified locally against Maven Central1 parent c020951 commit 5ee6f14
3 files changed
Lines changed: 8 additions & 6 deletions
File tree
- test/plugin/scenarios
- elasticsearch-java-9.x-scenario
- elasticsearch-java-scenario
- src/main/java/org/apache/skywalking/apm/testcase/elasticsearch/controller
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
0 commit comments