File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 2828import static org .elasticsearch .upgrades .LogsIndexModeRollingUpgradeIT .enableLogsdbByDefault ;
2929import static org .elasticsearch .upgrades .LogsIndexModeRollingUpgradeIT .getWriteBackingIndex ;
3030import static org .elasticsearch .upgrades .TsdbIT .formatInstant ;
31- import static org .hamcrest .Matchers .equalTo ;
32- import static org .hamcrest .Matchers .greaterThan ;
33- import static org .hamcrest .Matchers .greaterThanOrEqualTo ;
34- import static org .hamcrest .Matchers .notNullValue ;
31+ import static org .hamcrest .Matchers .*;
3532
3633public class LogsdbIndexingRollingUpgradeIT extends AbstractRollingUpgradeTestCase {
3734
@@ -240,7 +237,7 @@ protected static void startTrial() throws IOException {
240237 } catch (ResponseException e ) {
241238 var responseBody = entityAsMap (e .getResponse ());
242239 String error = ObjectPath .evaluate (responseBody , "error_message" );
243- assertThat (error , equalTo ("Trial was already activated." ));
240+ assertThat (error , containsString ("Trial was already activated." ));
244241 }
245242 }
246243
You can’t perform that action at this time.
0 commit comments