Class SlaveDataSourceTest

    • Constructor Detail

      • SlaveDataSourceTest

        public SlaveDataSourceTest()
    • Method Detail

      • setUp

        public void setUp()
      • testSlaveDataSource

        public void testSlaveDataSource()
      • testAlternativeDataSource

        public void testAlternativeDataSource()
      • testSlaveDSReadOnlyCheck

        public void testSlaveDSReadOnlyCheck()
                                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testAlternativeMasterWrite

        public void testAlternativeMasterWrite()
                                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testSelection

        public void testSelection()
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testForceMasterAndIsSlaveDataSource

        public void testForceMasterAndIsSlaveDataSource()
                                                 throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testSwitchOnTxBegin

        public void testSwitchOnTxBegin()
                                 throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testSwitchOnHJMPStore

        public void testSwitchOnHJMPStore()
                                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException