You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2010/04/06 15:02:07 UTC

svn commit: r931137 - /qpid/branches/0.5.x-dev/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java

Author: robbie
Date: Tue Apr  6 13:02:07 2010
New Revision: 931137

URL: http://svn.apache.org/viewvc?rev=931137&view=rev
Log:
QPID-2361: actually write out the required default virtualhost property

Modified:
    qpid/branches/0.5.x-dev/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java

Modified: qpid/branches/0.5.x-dev/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.5.x-dev/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java?rev=931137&r1=931136&r2=931137&view=diff
==============================================================================
--- qpid/branches/0.5.x-dev/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java (original)
+++ qpid/branches/0.5.x-dev/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java Tue Apr  6 13:02:07 2010
@@ -1104,6 +1104,7 @@ public class ServerConfigurationTest ext
     private void writeVirtualHostsFile(File vhostsFile, String name) throws IOException {
         FileWriter out = new FileWriter(vhostsFile);
         out.write("<virtualhosts>\n");
+        out.write(String.format("\t\t<default>%s</default>\n", name));
         out.write("\t<virtualhost>\n");
         out.write(String.format("\t\t<name>%s</name>\n", name));
         out.write(String.format("\t\t<%s>\n", name));



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org