You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/MatchOnlyTextRollingUpgradeIT.java
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -118,22 +118,23 @@ public void testIndexing() throws Exception {
118
118
// when/then - run some queries and verify results
119
119
ensureGreen(DATA_STREAM);
120
120
search(DATA_STREAM);
121
+
phraseSearch(DATA_STREAM);
121
122
query(DATA_STREAM);
122
-
123
123
} elseif (isMixedCluster()) {
124
124
// when
125
125
bulkIndex(NUM_REQUESTS, NUM_DOCS_PER_REQUEST);
126
126
127
127
// when/then
128
128
ensureGreen(DATA_STREAM);
129
129
search(DATA_STREAM);
130
+
phraseSearch(DATA_STREAM);
130
131
query(DATA_STREAM);
131
-
132
132
} elseif (isUpgradedCluster()) {
133
133
// when/then
134
134
ensureGreen(DATA_STREAM);
135
135
bulkIndex(NUM_REQUESTS, NUM_DOCS_PER_REQUEST);
136
136
search(DATA_STREAM);
137
+
phraseSearch(DATA_STREAM);
137
138
query(DATA_STREAM);
138
139
139
140
// when/then continued - force merge all shard segments into one
Copy file name to clipboardExpand all lines: x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java
+23-4Lines changed: 23 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,6 @@ public TextRollingUpgradeIT(@Name("upgradedNodes") int upgradedNodes) {
88
88
}
89
89
90
90
publicvoidtestIndexing() throwsException {
91
-
92
91
if (isOldCluster()) {
93
92
// given - enable logsdb and create a template
94
93
startTrial();
@@ -111,22 +110,23 @@ public void testIndexing() throws Exception {
111
110
// when/then - run some queries and verify results
112
111
ensureGreen(DATA_STREAM);
113
112
search(DATA_STREAM);
113
+
phraseSearch(DATA_STREAM);
114
114
query(DATA_STREAM);
115
-
116
115
} elseif (isMixedCluster()) {
117
116
// when
118
117
bulkIndex(NUM_REQUESTS, NUM_DOCS_PER_REQUEST);
119
118
120
119
// when/then
121
120
ensureGreen(DATA_STREAM);
122
121
search(DATA_STREAM);
122
+
phraseSearch(DATA_STREAM);
123
123
query(DATA_STREAM);
124
-
125
124
} elseif (isUpgradedCluster()) {
126
125
// when/then
127
126
ensureGreen(DATA_STREAM);
128
127
bulkIndex(NUM_REQUESTS, NUM_DOCS_PER_REQUEST);
129
128
search(DATA_STREAM);
129
+
phraseSearch(DATA_STREAM);
130
130
query(DATA_STREAM);
131
131
132
132
// when/then continued - force merge all shard segments into one
0 commit comments