public void testBug68763() throws Exception {
  ReplicationConnection replConn=null;
  replConn=(ReplicationConnection)getMasterSlaveReplicationConnection();
  replConn.setReadOnly(true);
  assertFalse("isMasterConnection() should be false for slave connection",replConn.isMasterConnection());
  replConn.setReadOnly(false);
  assertTrue("isMasterConnection() should be true for master connection",replConn.isMasterConnection());
}

public void testBug68763 ( ) throws Exception { ReplicationConnection replConn = null ; replConn = ( ReplicationConnection ) getMasterSlaveReplicationConnection ( ) ; replConn . setReadOnly ( true ) ; assertFalse ( "isMasterConnection() should be false for slave connection" , replConn . isMasterConnection ( ) ) ; replConn . setReadOnly ( false ) ; assertTrue ( "isMasterConnection() should be true for master connection" , replConn . isMasterConnection ( ) ) ; }
tests fix for bug # 68763 , replicationconnection . ismasterconnection ( ) returns false always
