[jboss-cvs] JBossAS SVN: r88921 - branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 14 18:43:20 EDT 2009


Author: bstansberry at jboss.com
Date: 2009-05-14 18:43:20 -0400 (Thu, 14 May 2009)
New Revision: 88921

Modified:
   branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ServiceBindingManagedObjectsTestCase.java
Log:
[JBAS-6259] Disable test that disrupts ability to restart server

Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ServiceBindingManagedObjectsTestCase.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ServiceBindingManagedObjectsTestCase.java	2009-05-14 22:02:37 UTC (rev 88920)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ServiceBindingManagedObjectsTestCase.java	2009-05-14 22:43:20 UTC (rev 88921)
@@ -400,28 +400,30 @@
       return result;
    }
    
-   public void testUpdateActiveBindingSetName() throws Exception
-   {           
-      ManagedComponent component = getServiceBindingManagerManagedComponent();
-   
-      ManagedProperty property = component.getProperty("activeBindingSetName");
-      assertNotNull(property);
-      
-      property.setValue(SimpleValueSupport.wrap("ports-01"));
-      
-      getManagementView().updateComponent(component);
-      log.debug("updated component " + component);
-      
-      component = getServiceBindingManagerManagedComponent();
-      assertNotNull(component);
-      log.debug("re-acquired component " + component);
-   
-      property = component.getProperty("activeBindingSetName");
-      assertNotNull(property);
-      
-      SimpleValue val = (SimpleValue) property.getValue();
-      assertEquals("ports-01", val.getValue());
-   }
+//   // FIXME: disabled as we don't want to change to name of a server that
+//   // the testsuite later restarts. Move this somewhere else where we can do it   
+//   public void testUpdateActiveBindingSetName() throws Exception
+//   {           
+//      ManagedComponent component = getServiceBindingManagerManagedComponent();
+//   
+//      ManagedProperty property = component.getProperty("activeBindingSetName");
+//      assertNotNull(property);
+//      
+//      property.setValue(SimpleValueSupport.wrap("ports-01"));
+//      
+//      getManagementView().updateComponent(component);
+//      log.debug("updated component " + component);
+//      
+//      component = getServiceBindingManagerManagedComponent();
+//      assertNotNull(component);
+//      log.debug("re-acquired component " + component);
+//   
+//      property = component.getProperty("activeBindingSetName");
+//      assertNotNull(property);
+//      
+//      SimpleValue val = (SimpleValue) property.getValue();
+//      assertEquals("ports-01", val.getValue());
+//   }
 
    
    public void testUpdateStandardBindings() throws Exception




More information about the jboss-cvs-commits mailing list