public class ReplicationRun_Local_Encrypted_1 extends ReplicationRun
ReplicationRun.Load, ReplicationRun.State
ALL_INTERFACES, bootLoad, classPath, commitFreq, dataEncryption, DB_PROTOCOL, derbyMasterVersion, derbyProperties, derbySlaveVersion, derbyVersion, DRIVER_CLASS_NAME, freezeDB, FS, junit_jar, junitTest, jvmVersion, LF, localEnv, masterDatabasePath, masterDbSubPath, masterJvmVersion, masterPostRepl, masterPostSlave, masterPreRepl, masterServerHost, masterServerPort, MINUTES, networkServerControl, PS, remoteShell, replicatedDb, REPLICATION_DB_NOT_BOOTED, REPLICATION_MASTER_TIMED_OUT, REPLICATION_SLAVE_SHUTDOWN_OK, REPLICATION_SLAVE_STARTED_OK, replicationTest, REPLICATIONTEST_PROPFILE, replicationVerify, runUnReplicated, showSysinfo, simpleLoad, simpleLoadTuples, SLAVE_OPERATION_DENIED_WHILE_CONNECTED, slaveDatabasePath, slaveDbSubPath, slaveJvmVersion, slavePostSlave, slavePreSlave, slaveReplPort, slaveServerHost, slaveServerPort, sleepTime, specialTestingJar, sqlLoadInit, state, test_jars, testClientHost, testUser, THREADS, tuplesToInsertPerf, unFreezeDB, userDir, userHome, util
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
Constructor and Description |
---|
ReplicationRun_Local_Encrypted_1(java.lang.String testcaseName) |
Modifier and Type | Method and Description |
---|---|
(package private) java.sql.SQLException |
_connectToSlave(java.lang.String slaveServerHost,
int slaveServerPort,
java.lang.String dbPath) |
protected void |
setUp()
Parent super()
|
static junit.framework.Test |
suite() |
protected void |
tearDown()
Parent super()
|
void |
testReplication_Encrypted_1_miniLoad_negative()
Verify connection to the encrypted, replicated database:
A) Database has not been shut down:
further connects from the same JVM will succeed
- connect without specifying encryption,
- blank password,
- incorrect password.
|
void |
testReplication_Encrypted_1_stdLoad()
Do a simple test to verify replication can be performed
on an encrypted database.
|
_testInsertUpdateDeleteOnMaster, _verify, _verifyDatabase, assertException, assertSqlStateSlaveConn, bootMasterDatabase, cleanAllTestHosts, configureDataSource, connectPing, credentials, destroySlaveDB, executeOnMaster, executeOnSlave, failOver, getConnection, getMasterConnection, getSlaveConnection, initEnvironment, initMaster, initSlave, killMaster, killSlave, makeReadyForReplication, masterDbPath, masterLoadURL, masterURL, restartServer, runBare, runTest, runTestOnSlave, serverURL, showCurrentState, shutdownDb, slaveDbPath, slaveURL, startMaster, startOptionalLoad, startServer, startServerMonitor, startSlave, stopServer, stopSlave, stopSlave, useEncryption, verifyMaster, verifySlave, waitForConnect, waitForSQLState, xFindServerPID, xStopServer
alarm, assertDirectoryDeleted, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSameNullness, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, newAssertionFailedError, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runsWithEmma, runsWithJaCoCo, setSystemErr, setSystemOut, setSystemProperty, sleep, sleepAtLeastOneTick, traceit, vmAtLeast
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
public ReplicationRun_Local_Encrypted_1(java.lang.String testcaseName)
protected void setUp() throws java.lang.Exception
ReplicationRun
setUp
in class ReplicationRun
java.lang.Exception
- .protected void tearDown() throws java.lang.Exception
ReplicationRun
tearDown
in class ReplicationRun
java.lang.Exception
- .public static junit.framework.Test suite()
public void testReplication_Encrypted_1_stdLoad() throws java.lang.Exception
java.lang.Exception
public void testReplication_Encrypted_1_miniLoad_negative() throws java.lang.Exception
java.lang.Exception
java.sql.SQLException _connectToSlave(java.lang.String slaveServerHost, int slaveServerPort, java.lang.String dbPath) throws java.lang.Exception
java.lang.Exception
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.