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-4417) Enable distributed replication testing - master server, slave server and test client running on different hosts.
Date Wed, 30 Dec 2009 08:35:30 GMT

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

Ole Solberg updated DERBY-4417:
-------------------------------

    Attachment: DERBY-4417_P1_p1.diff

DERBY-4417_P1_p1.diff.txt:
--------------------------
This patch is a preparation for patches to enable distributed replication testing.
The patch touches only java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java:

1. Allow a plain class w/main(), i.e. NOT using JUnit, as a client load when running distributed.

2. Introduced THREADS, MINUTES in preparation for the ReplicationTestRunStress/StressMultiTest
load client.

3. Removed using pre-installed dummy ij script - still creates the script in ${HOME}.

 . Various cleanups: 
   - Removing unused code.
   - Introduced ReplicationRun.get{Master|Slave}JavaExecutableName() to handle
     the equivalent of BaseTestCase.getJavaExecutableName() also when running
     distributed: allowing jvms to be specified in replicationtest.properties.


org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationSuite and
org.apache.derbyTesting.functionTests.suites.All ran OK.
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Distributed
also ran OK with various loads.

Planning to commit later today.


> Enable distributed replication testing - master server, slave server and test client
running on different hosts.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4417
>                 URL: https://issues.apache.org/jira/browse/DERBY-4417
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Replication, Test
>    Affects Versions: 10.6.0.0
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>         Attachments: DERBY-4417_P1_p1.diff, DERBY_distr_repl_A.diff.txt, DERBY_distr_repl_B.diff.txt,
DERBY_distr_repl_C-replicationtest.properties, DERBY_distr_repl_D-start_script.txt
>
>


-- 
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