Author: jfrederic.clere(a)jboss.com
Date: 2008-12-11 05:32:31 -0500 (Thu, 11 Dec 2008)
New Revision: 2124
Modified:
trunk/mod_cluster/test/java/installhttpd.sh
trunk/mod_cluster/test/java/org/jboss/mod_cluster/Maintest.java
Log:
Fix the test according to the new class and new names.
Modified: trunk/mod_cluster/test/java/installhttpd.sh
===================================================================
--- trunk/mod_cluster/test/java/installhttpd.sh 2008-12-11 08:46:01 UTC (rev 2123)
+++ trunk/mod_cluster/test/java/installhttpd.sh 2008-12-11 10:32:31 UTC (rev 2124)
@@ -100,10 +100,12 @@
BASE=mod_cluster-windows
;;
esac
-PACKAGE=rhel-httpd-2.2.8-1.el5s2
+#PACKAGE=rhel-httpd-2.2.8-1.el5s2
+PACKAGE=mod_cluster-1.0.0.dev
# Something like (note don't use ssl for the moment.
#
http://hudson.qa.jboss.com/hudson/view/Native/job/mod_cluster-linux-x86_6...
+#
http://hudson.qa.jboss.com/hudson/view/Native/job/mod_cluster-solaris-x86...
TARBALL=http://hudson.qa.jboss.com/hudson/view/Native/job/${BASE}/lastSuc...
ant downloadgz -Dsourcefile=${TARBALL} -Ddestfile=opt/jboss/httpd/sbin/apachectl
if [ $? -ne 0 ]; then
Modified: trunk/mod_cluster/test/java/org/jboss/mod_cluster/Maintest.java
===================================================================
--- trunk/mod_cluster/test/java/org/jboss/mod_cluster/Maintest.java 2008-12-11 08:46:01
UTC (rev 2123)
+++ trunk/mod_cluster/test/java/org/jboss/mod_cluster/Maintest.java 2008-12-11 10:32:31
UTC (rev 2124)
@@ -129,7 +129,7 @@
boolean stickySessionForce) {
LifecycleListener lifecycle = null;
ClusterListener jcluster = null;
- org.jboss.modcluster.ClusterListener pcluster = null;
+ org.jboss.modcluster.ModClusterListener pcluster = null;
if (isJBossWEB) {
jcluster = new ClusterListener();
@@ -142,7 +142,7 @@
jcluster.setStickySessionForce(stickySessionForce);
lifecycle = jcluster;
} else {
- pcluster = new org.jboss.modcluster.ClusterListener();
+ pcluster = new org.jboss.modcluster.ModClusterListener();
pcluster.setAdvertiseGroupAddress(groupa);
pcluster.setAdvertisePort(groupp);
pcluster.setSsl(ssl);
@@ -162,7 +162,7 @@
ClusterListener jcluster = (ClusterListener) lifecycle;
result = jcluster.getProxyInfo();
} else {
- org.jboss.modcluster.ClusterListener pcluster =
(org.jboss.modcluster.ClusterListener) lifecycle;
+ org.jboss.modcluster.ModClusterListener pcluster =
(org.jboss.modcluster.ModClusterListener) lifecycle;
result = pcluster.getProxyInfo();
}
return result;