[jboss-cvs] JBossCache/tests/functional/org/jboss/cache ...

Manik Surtani manik at jboss.org
Tue May 22 08:34:16 EDT 2007


  User: msurtani
  Date: 07/05/22 08:34:16

  Modified:    tests/functional/org/jboss/cache  HungChannelTest.java
  Log:
  fixed broken test
  
  Revision  Changes    Path
  1.5       +1 -1      JBossCache/tests/functional/org/jboss/cache/HungChannelTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: HungChannelTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/HungChannelTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- HungChannelTest.java	11 Jan 2007 13:49:06 -0000	1.4
  +++ HungChannelTest.java	22 May 2007 12:34:16 -0000	1.5
  @@ -50,7 +50,7 @@
            ch.setOpt(Channel.GET_STATE_EVENTS, Boolean.TRUE);
            ch.setOpt(Channel.AUTO_RECONNECT, Boolean.TRUE);
            ch.setOpt(Channel.AUTO_GETSTATE, Boolean.TRUE);
  -         cache.channel = ch;
  +         cache.getConfiguration().getRuntimeConfig().setChannel(ch);
   
            cache.start();// the state transfer here should fail, leading to an exception being thrown.
            fail("Expecting the startService() method to throw an exception");
  
  
  



More information about the jboss-cvs-commits mailing list