fix MailException occuring in gerrit container MailException is observed in gerrit container when set-account command is executed, fix the issue by updating gerrit.config file in gerrit container so that gerrit do not send email messages. Change-Id: Ib1633088c732a9ab8f6e3453b0d747680ed7c31b
diff --git a/test/docker/gerrit/start.sh b/test/docker/gerrit/start.sh index c97894d..09bac64 100755 --- a/test/docker/gerrit/start.sh +++ b/test/docker/gerrit/start.sh
@@ -2,6 +2,8 @@ git config -f "$GERRIT_SITE/etc/gerrit.config" \ operator-alias.change.independson "in_depends-on" +git config -f "$GERRIT_SITE/etc/gerrit.config" \ + sendemail.enable "false" echo "Initializing Gerrit site ..." java -jar "$GERRIT_SITE/bin/gerrit.war" init -d "$GERRIT_SITE" --batch