aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Clients/Grid
diff options
context:
space:
mode:
authorDiva Canto2009-09-25 06:02:41 -0700
committerDiva Canto2009-09-25 06:02:41 -0700
commit52e477b41f137ff2a0775722dcbaaa64fa5f3bc3 (patch)
tree8178d6b5562ce6d657aefe35eaa61b513923da56 /OpenSim/Tests/Clients/Grid
parentMake the grid client deregister the test regions at the end, so that they don... (diff)
downloadopensim-SC_OLD-52e477b41f137ff2a0775722dcbaaa64fa5f3bc3.zip
opensim-SC_OLD-52e477b41f137ff2a0775722dcbaaa64fa5f3bc3.tar.gz
opensim-SC_OLD-52e477b41f137ff2a0775722dcbaaa64fa5f3bc3.tar.bz2
opensim-SC_OLD-52e477b41f137ff2a0775722dcbaaa64fa5f3bc3.tar.xz
Better guards on RegisterRegion in GridService.
Added serverPort to the fields that get stored (I think this is the UDP port).
Diffstat (limited to 'OpenSim/Tests/Clients/Grid')
-rw-r--r--OpenSim/Tests/Clients/Grid/GridClient.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Tests/Clients/Grid/GridClient.cs b/OpenSim/Tests/Clients/Grid/GridClient.cs
index c56ebc3..941406e 100644
--- a/OpenSim/Tests/Clients/Grid/GridClient.cs
+++ b/OpenSim/Tests/Clients/Grid/GridClient.cs
@@ -137,6 +137,9 @@ namespace OpenSim.Tests.Clients.GridClient
137 else 137 else
138 Console.WriteLine("[GRID CLIENT]: GetRegionRange returned " + regions.Count + " regions"); 138 Console.WriteLine("[GRID CLIENT]: GetRegionRange returned " + regions.Count + " regions");
139 139
140 Console.Write("Proceed to deregister? Press enter...");
141 Console.ReadLine();
142
140 // Deregister them all 143 // Deregister them all
141 Console.WriteLine("[GRID CLIENT]: *** Deregistering region 1"); 144 Console.WriteLine("[GRID CLIENT]: *** Deregistering region 1");
142 success = m_Connector.DeregisterRegion(r1.RegionID); 145 success = m_Connector.DeregisterRegion(r1.RegionID);
@@ -166,7 +169,7 @@ namespace OpenSim.Tests.Clients.GridClient
166 region.RegionID = UUID.Random(); 169 region.RegionID = UUID.Random();
167 region.ExternalHostName = "127.0.0.1"; 170 region.ExternalHostName = "127.0.0.1";
168 region.HttpPort = 9000; 171 region.HttpPort = 9000;
169 region.InternalEndPoint = new System.Net.IPEndPoint(System.Net.IPAddress.Parse("0.0.0.0"), 0); 172 region.InternalEndPoint = new System.Net.IPEndPoint(System.Net.IPAddress.Parse("0.0.0.0"), 9000);
170 173
171 return region; 174 return region;
172 } 175 }