]> source.dussan.org Git - archiva.git/commitdiff
removed increased selenium timeout now that ant-run will pre-load the archiva webapp
authorEdwin L. Punzalan <epunzalan@apache.org>
Mon, 4 Dec 2006 10:11:37 +0000 (10:11 +0000)
committerEdwin L. Punzalan <epunzalan@apache.org>
Mon, 4 Dec 2006 10:11:37 +0000 (10:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@482125 13f79535-47bb-0310-9956-ffa450edef68

archiva-webapp-test/pom.xml
archiva-webapp-test/src/test/it/org/apache/maven/archiva/web/test/AbstractArchivaTestCase.java

index 51aa7d655310d993fa8818a66b34154ba8093808..53f9b86f6cdb4490ef12a4d2d90dd0352e4812b6 100644 (file)
               <goal>run</goal>
             </goals>
           </execution>
+          <execution>
+            <id>check-archiva-loaded</id>
+            <phase>integration-test</phase>
+            <configuration>
+              <tasks>
+                <get src="http://localhost:9595/archiva/" dest="${project.build.directory}/index.html"/>
+                <delete file="${project.build.directory}/index.html"/>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
         </executions>
       </plugin>
       <plugin>
index 352783588c45deaa29fb2215584ea4953820b26d..d0d6e815ef74e1b049e5c6b99a6146e81a9d317c 100644 (file)
@@ -41,7 +41,6 @@ public abstract class AbstractArchivaTestCase
 
     protected void initialize()
     {
-        getSelenium().setTimeout( "120000" );
         getSelenium().open( "/archiva" );
 
         if ( CREATE_ADMIN_USER_PAGE_TITLE.equals( getSelenium().getTitle() ) )