db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Solberg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3162) Create a framework for replication tests
Date Thu, 27 Mar 2008 09:09:24 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ole Solberg updated DERBY-3162:
-------------------------------

    Attachment: derby-3162.8_v1_post641328.stat.txt
                derby-3162.8_v1_post641328.diff.txt

Patch derby-3162.8_v1_post641328 for replication testing.

Main topics of this patch are
A:  make replication tests run when starting with a 
    relative path for classpath. (2.1 and 2.5 below.)
B:  Enable ReplicationSuite in suites.All (3. below)


1. java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationSuite.java
 .1  Added ReplicationRun_Local_1.suite() which does a simple consistency test
     on contents in master and slave db's after replication.

2. java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
 .1 Set user.dir and derby.system.home correctly when starting servers.
    (StartServer())
 .2 Minor cleanup on detecting we are running in a "localhost" environment.
 .3 Cleanup some DEBUG.
 .4 Do master and slave verification directly from the ReplicationRun VM.
    (verifySlave(), verifyMaster())
 .5 Set user.dir correctly when running existing JUnit tests as
    "replication load".
    (runUserCommandLocally())

3. java/testing/org/apache/derbyTesting/functionTests/suites/All.java
 .1 Add ReplicationSuite.suite() to suites.All.



The patch has been tested on
Linux:   jars: 1.4, 1.5, 1.6. classes: 1.4, 1.5, 1.6
  rel.cp jars:      1.5, 1.6 
Solaris: jars: 1.4, 1.5, 1.6
Windows: jars: 1.4, 1.5, 1.6


> Create a framework for replication tests
> ----------------------------------------
>
>                 Key: DERBY-3162
>                 URL: https://issues.apache.org/jira/browse/DERBY-3162
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.4.0.0
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>            Priority: Minor
>             Fix For: 10.4.0.0
>
>         Attachments: derby-3162.1-v1.diff.txt, derby-3162.2-v2.diff.txt, derby-3162.2-v2.stat.txt,
derby-3162.3-v1.diff.txt, derby-3162.3-v1.stat.txt, derby-3162.3-v2.diff.txt, derby-3162.3-v2.stat.txt,
derby-3162.3-v3.diff.txt, derby-3162.3-v3.stat.txt, derby-3162.3-v4c.diff.txt, derby-3162.3-v4c.stat.txt,
derby-3162.3-v4d.diff.txt, derby-3162.3-v4d.stat.txt, derby-3162.4-v3.diff.txt, derby-3162.4-v3.stat.txt,
derby-3162.5-v1.diff.txt, derby-3162.5-v1.stat.txt, derby-3162.6_v1.diff.txt, derby-3162.6_v1.stat.txt,
derby-3162.8_v1_post641328.diff.txt, derby-3162.8_v1_post641328.stat.txt
>
>
> 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,
>  - ... 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message