Class SnowflakeTestSystem
java.lang.Object
liquibase.extension.testing.testsystem.TestSystem
liquibase.extension.testing.testsystem.DatabaseTestSystem
liquibase.extension.testing.testsystem.core.SnowflakeTestSystem
- All Implemented Interfaces:
Plugin
,org.junit.rules.TestRule
When running against Localstack Snowflake, you may need to add the following to your run configuration:
--add-opens=java.base/java.nio=ALL-UNNAMED
. See more information
here.-
Nested Class Summary
Nested classes/interfaces inherited from class liquibase.extension.testing.testsystem.TestSystem
TestSystem.Definition
-
Field Summary
Fields inherited from class liquibase.extension.testing.testsystem.DatabaseTestSystem
wrapper
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DatabaseWrapper
protected String[]
Define SQL to run byDatabaseTestSystem.setup()
Methods inherited from class liquibase.extension.testing.testsystem.DatabaseTestSystem
createJdbcWrapper, createWrapper, execute, execute, executeInverses, executeSql, getAltCatalog, getAltSchema, getAltTablespace, getCatalog, getConnection, getConnection, getConnection, getConnectionUrl, getDatabaseFromFactory, getDriver, getDriverJar, getImageName, getPassword, getSetupPassword, getSetupUsername, getUsername, getVersion, openSetupConnection, setup, start, stop
Methods inherited from class liquibase.extension.testing.testsystem.TestSystem
apply, getConfigurationKeys, getConfiguredValue, getConfiguredValue, getConfiguredValue, getDefinition, getEnabledTestSystems, getKeepRunning, getPriority, shouldTest, toString
-
Constructor Details
-
SnowflakeTestSystem
public SnowflakeTestSystem() -
SnowflakeTestSystem
-
-
Method Details
-
createContainerWrapper
- Specified by:
createContainerWrapper
in classDatabaseTestSystem
- Throws:
Exception
-
getSetupSql
Description copied from class:DatabaseTestSystem
Define SQL to run byDatabaseTestSystem.setup()
- Specified by:
getSetupSql
in classDatabaseTestSystem
-