[jboss-cvs] JBossAS SVN: r64661 - trunk/testsuite/src/main/org/jboss/test/naming/restart.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 17 13:54:26 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-08-17 13:54:25 -0400 (Fri, 17 Aug 2007)
New Revision: 64661
Modified:
trunk/testsuite/src/main/org/jboss/test/naming/restart/RestartNamingService.java
Log:
Comment
Modified: trunk/testsuite/src/main/org/jboss/test/naming/restart/RestartNamingService.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/naming/restart/RestartNamingService.java 2007-08-17 17:53:34 UTC (rev 64660)
+++ trunk/testsuite/src/main/org/jboss/test/naming/restart/RestartNamingService.java 2007-08-17 17:54:25 UTC (rev 64661)
@@ -28,7 +28,9 @@
/**
* Overrides NamingService to unexport the naming stub in stopService().
- * Used to test what happens when this is done.
+ * Used to test what happens when this is done, which is a better simulation
+ * of the normal way a NamingService is restarted -- via a full server
+ * restart.
*
* @author <a href="brian.stansberry at jboss.com">Brian Stansberry</a>
* @version $Revision$
@@ -40,7 +42,7 @@
protected void stopService() throws Exception
{
super.stopService();
- UnicastRemoteObject.unexportObject(getNamingInstance(), false);
+ UnicastRemoteObject.unexportObject(getNamingInstance(), true);
}
More information about the jboss-cvs-commits
mailing list