]> source.dussan.org Git - vaadin-framework.git/commitdiff
Downgrade to Jetty 9.2 (#8549)
authorHenri Sara <henri.sara@gmail.com>
Mon, 13 Feb 2017 14:21:51 +0000 (16:21 +0200)
committerHenri Sara <henri.sara@gmail.com>
Tue, 14 Feb 2017 11:45:58 +0000 (13:45 +0200)
Jetty 9.3 and 9.4 sometimes reset the connection too early in case of
errors, which leads to failing tests (UIInitExceptionTest,
AppResource404Test).

See e.g. https://issues.apache.org/jira/browse/SOLR-8453 for more
information.

pom.xml

diff --git a/pom.xml b/pom.xml
index 50eb8738467a8d7552695bfadc046738438ce813..d65a863d3e35af4a84a7b339e9ea1ee918c517f5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,6 @@
 
         <!-- Used version numbers for dependencies -->
         <liferay.portal-service.version>6.2.5</liferay.portal-service.version>
-        <jetty.version>9.3.9.v20160517</jetty.version>
 
         <vaadin.gwt.version>2.8.0</vaadin.gwt.version>
         <vaadin.plugin.version>8.0-SNAPSHOT</vaadin.plugin.version>
@@ -45,7 +44,9 @@
         <!-- Dependency unpack directory -->
         <dependency.unpack.directory>${project.build.directory}/dependency-unpack</dependency.unpack.directory>
 
-        <jetty.version>9.3.7.v20160115</jetty.version>
+        <!-- Cannot use 9.3 or 9.4 because they sometimes reset the connection too early in case of errors -->
+        <!-- See e.g. https://issues.apache.org/jira/browse/SOLR-8453 -->
+        <jetty.version>9.2.9.v20150224</jetty.version>
         <phantomjs.version>2.1.1</phantomjs.version>
 
         <!-- Sonar properties -->