Author: olamy Date: Fri Oct 14 09:43:13 2011 New Revision: 1183265 URL: http://svn.apache.org/viewvc?rev=1183265&view=rev Log: add integration test to ensure we start https and ajp in tomcat7 plugin
Added: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/keystore Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/it/Tomcat7RunMultiConfigIT.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml?rev=1183265&r1=1183264&r2=1183265&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml Fri Oct 14 09:43:13 2011 @@ -68,7 +68,6 @@ <configurationDir>\${project.build.directory}/tc</configurationDir> <path>/multi-config</path> <port>${its.http.port}</port> - <httpsPort>${its.https.port}</httpsPort> <keystoreFile>${keystoreTestPath}</keystoreFile> <ajpPort>${its.ajp.port}</ajpPort> Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml?rev=1183265&r1=1183264&r2=1183265&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Fri Oct 14 09:43:13 2011 @@ -36,6 +36,7 @@ <tomcat.version>7.0.22</tomcat.version> <managerWebAppPath>${basedir}/target/</managerWebAppPath> <warTestPath>${basedir}/src/test/simple-war-project-1.0-SNAPSHOT.war</warTestPath> + <keystoreTestPath>${basedir}/src/test/keystore</keystoreTestPath> </properties> <dependencies> @@ -271,6 +272,7 @@ <verifier.maven.debug>${verifier.maven.debug}</verifier.maven.debug> <verifier.debugJvm>${verifier.debugJvm}</verifier.debugJvm> <its.http.port>${its.http.port}</its.http.port> + <its.https.port>${its.https.port}</its.https.port> <its.ajp.port>${its.ajp.port}</its.ajp.port> </systemPropertyVariables> <redirectTestOutputToFile>false</redirectTestOutputToFile> Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/it/Tomcat7RunMultiConfigIT.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/it/Tomcat7RunMultiConfigIT.java?rev=1183265&r1=1183264&r2=1183265&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/it/Tomcat7RunMultiConfigIT.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/java/org/apache/tomcat/maven/it/Tomcat7RunMultiConfigIT.java Fri Oct 14 09:43:13 2011 @@ -32,5 +32,7 @@ public class Tomcat7RunMultiConfigIT throws VerificationException { verifier.verifyTextInLog("INFO: Starting ProtocolHandler [\"http-bio-" + getHttpItPort() + "\"]"); + verifier.verifyTextInLog("INFO: Starting ProtocolHandler [\"http-bio-" + getHttpsItPort() + "\"]"); + verifier.verifyTextInLog("INFO: Starting ProtocolHandler [\"ajp-bio-" + getAjpItPort() + "\"]"); } } Added: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/keystore URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/keystore?rev=1183265&view=auto ============================================================================== Files tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/keystore (added) and tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/keystore Fri Oct 14 09:43:13 2011 differ Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml?rev=1183265&r1=1183264&r2=1183265&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/test/resources/tomcat-run-multi-config/pom.xml Fri Oct 14 09:43:13 2011 @@ -68,11 +68,9 @@ <configurationDir>\${project.build.directory}/tc</configurationDir> <path>/multi-config</path> <port>${its.http.port}</port> - <!-- - <httpsPort>8002</httpsPort> - <keystoreFile>\${basedir}/src/keystore</keystoreFile> - <ajpPort>8003</ajpPort> - --> + <httpsPort>${its.https.port}</httpsPort> + <keystoreFile>${keystoreTestPath}</keystoreFile> + <ajpPort>${its.ajp.port}</ajpPort> <uriEncoding>UTF-8</uriEncoding> <systemProperties> <com.sun.management.jmxremote.ssl>false</com.sun.management.jmxremote.ssl> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org