Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3161

Test the Derby Replication functionality introduced in DERBY-2872

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.1.3
    • 10.5.1.1
    • Test
    • None

    Description

      This will be the top level JIRA for testing of the Derby Replication functionality DERBY-2872.

      The tests will initially be developed using the "Proof of Concept" code submitted on DERBY-2872.
      The "Proof of Concept" code is being published in parallel with the code committed on trunk.
      The committed code will initially not allow execution of the replication functionality.
      When the replication functionality is enabled on trunk the tests should be ready for use on trunk.

      For testing the replication functionality we will need

      • a framework to handle
      • starting and stopping Derby servers to have the master and slave replication roles,
      • doing administrative commands like startreplication, startslave, stopreplication, failover,
      • performing consistency checks on the slave vs. the master,
      • running load clients against master and slave in the various states of replication,
      • provoking error situations on master and slave, and network,
      • ...
      • to run existing Apache Derby tests (old test harness tests ("derbyall" kind)
        and junit tests)
        This requires
      • Running existing tests against already started servers on "non-localhost" machines.
      • verificationclients checking slave vs. master.
      • ...
      • to create new replication specific tests
      • Functional Testing (replication commands)
      • Single Operation Tests: input variation, legal/illegal syntax/semantics.
      • Negative testing
      • Operation Sequences
      • Concurrency Semantics
      • Application Profiles (# of master/slave servers, # of databases per master/slave,..)
      • Provocative Operation Sequences and Operation Concurrency
      • Non-Functional Testing
      • Performance
      • Stress, Resource Control
      • Volume
      • Scalability
      • Resource Leakage
      • Authentication
      • Authorization
      • ....

      Attachments

        1. ReplicationTestDesignSpec.html
          21 kB
          Ole Solberg
        2. ReplicationTestDesignSpec_0.22.html
          37 kB
          Ole Solberg
        3. README.testReplication
          4 kB
          Ole Solberg
        4. README.runningTests
          0.9 kB
          Ole Solberg
        5. README.properties
          4 kB
          Ole Solberg
        6. README.framework
          2 kB
          Ole Solberg

        Issue Links

          Activity

            People

              olesolberg Ole Solberg
              olesolberg Ole Solberg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: