[
https://issues.apache.org/jira/browse/DERBY-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ole Solberg updated DERBY-3163:
-------------------------------
Attachment: derby-3163.1-v1.diff.txt
First version of Derby JUnit test framework adaptions to run existing tests
against replicated databases.
Actually mods. to be able to run tests against *already started servers*.
java/testing/org/apache/derbyTesting/junit/TestConfiguration.java:
------------------------------------------------------------------
NB. also includes the modifications to TestConfiguration.java
submitted in derby-2807-v1.diff.txt.
derby-2807-v1.diff.txt is not yet committed.
+ getDEFAULT_CONFIG()
+ existingServerSuite(Class testClass,
boolean cleanDB,
String hostName,
int portNumber)
+ existingServerDecorator(Test test, String hostName, int PortNumber)
java/testing/org/apache/derbyTesting/junit/CleanDatabaseTestSetup.java:
-----------------------------------------------------------------------
+ CleanDatabaseTestSetup(Test test,
boolean useNetworkClient,
String hostName,
int portNo)
+ jdbcClient
+ hostName
+ portNo
M setUp() - set jdbcClient, hostName, portNo in current TestConfiguration.
> Derby JUnit test framework adaptions to run existing tests against replicated
> databases
> ---------------------------------------------------------------------------------------
>
> Key: DERBY-3163
> URL: https://issues.apache.org/jira/browse/DERBY-3163
> Project: Derby
> Issue Type: Sub-task
> Components: Test
> Affects Versions: 10.4.0.0
> Reporter: Ole Solberg
> Assignee: Ole Solberg
> Priority: Minor
> Attachments: derby-3163.1-v1.diff.txt
>
>
> Extensions 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.
> - ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.