activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r786215 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs
Date Thu, 18 Jun 2009 19:23:06 GMT
Author: jgomes
Date: Thu Jun 18 19:23:05 2009
New Revision: 786215

URL: http://svn.apache.org/viewvc?rev=786215&view=rev
Log:
Changed default test hostname to activemqhost.  Defaulting to localhost will break Compact
Framework tests, because the Compact Framework does not support environment variables, so
using the hosts file for aliasing is the only option.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs?rev=786215&r1=786214&r2=786215&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs Thu Jun 18
19:23:05 2009
@@ -216,7 +216,7 @@
 			// names that can be pulled from the environment.  Currently, we only support limited
 			// hard-coded variable names.
 
-			string defaultBroker = GetEnvVar("NMSTestBroker", "localhost");
+			string defaultBroker = GetEnvVar("NMSTestBroker", "activemqhost");
 
 			srcText = ReplaceEnvVar(srcText, "ActiveMQHost", defaultBroker);
 			srcText = ReplaceEnvVar(srcText, "ActiveMQBackupHost", defaultBroker);



Mime
View raw message