aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-10-16 17:05:19 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-10-17 10:06:30 +0200
commitc8afbfd7e00b8f27ce097efab84e186b3afebe6e (patch)
treeeadc256a8b19e3c68c8fbab98c224b227984cd08 /tests
parent139facb4c713471036fe72f00bdfa1e86ee33f5e (diff)
downloadsonarqube-c8afbfd7e00b8f27ce097efab84e186b3afebe6e.tar.gz
sonarqube-c8afbfd7e00b8f27ce097efab84e186b3afebe6e.zip
SONAR-9905 Notification daemon must not be started twice
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/sonarqube/tests/qualityProfile/BuiltInQualityProfilesNotificationTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/qualityProfile/BuiltInQualityProfilesNotificationTest.java b/tests/src/test/java/org/sonarqube/tests/qualityProfile/BuiltInQualityProfilesNotificationTest.java
index f97dd1b7ba2..ffd7d24bac2 100644
--- a/tests/src/test/java/org/sonarqube/tests/qualityProfile/BuiltInQualityProfilesNotificationTest.java
+++ b/tests/src/test/java/org/sonarqube/tests/qualityProfile/BuiltInQualityProfilesNotificationTest.java
@@ -89,6 +89,7 @@ public class BuiltInQualityProfilesNotificationTest {
public void send_mail_if_quality_profile_is_updated() throws Exception {
orchestrator = Orchestrator.builderEnv()
.addPlugin(pluginArtifact("foo-plugin-v1"))
+ .setServerProperty("sonar.notifications.delay", "1")
.setServerProperty("email.smtp_host.secured", "localhost")
.setServerProperty("email.smtp_port.secured", Integer.toString(smtpServer.getServer().getPort()))
.build();