aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-08-12 13:37:50 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-08-16 08:20:15 +0200
commit7730cf3831bc22de8a01a45c68cfac9548bad906 (patch)
treee5842bd8219a486f6728c276622ac4195e83b6a8 /it
parent2f9778d78317eca5d0c51d07b927f426bedcb38d (diff)
downloadsonarqube-7730cf3831bc22de8a01a45c68cfac9548bad906.tar.gz
sonarqube-7730cf3831bc22de8a01a45c68cfac9548bad906.zip
SONAR-7960 fix ClusterTest, ServerLogsTest and WS logs example
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/serverSystem/ClusterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/it/it-tests/src/test/java/it/serverSystem/ClusterTest.java b/it/it-tests/src/test/java/it/serverSystem/ClusterTest.java
index d7e61642980..a4dc295322d 100644
--- a/it/it-tests/src/test/java/it/serverSystem/ClusterTest.java
+++ b/it/it-tests/src/test/java/it/serverSystem/ClusterTest.java
@@ -162,14 +162,14 @@ public class ClusterTest {
}
private static boolean isDbWriteOperation(String log) {
- return log.contains("web[sql]") && (containsIgnoreCase(log, "sql=insert") ||
+ return log.contains("web[][sql]") && (containsIgnoreCase(log, "sql=insert") ||
containsIgnoreCase(log, "sql=update") ||
containsIgnoreCase(log, "sql=delete") ||
containsIgnoreCase(log, "sql=create"));
}
private static boolean isEsWriteOperation(String log) {
- return log.contains("web[es]") && (containsIgnoreCase(log, "Create index") ||
+ return log.contains("web[][es]") && (containsIgnoreCase(log, "Create index") ||
containsIgnoreCase(log, "Create type") ||
containsIgnoreCase(log, "put mapping request") ||
containsIgnoreCase(log, "refresh request") ||