Class IntegrationTestsHelper
java.lang.Object
org.apache.polaris.service.it.env.IntegrationTestsHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe environment variable that can be used to override the temporary directory used by the integration tests. -
Method Summary
Modifier and TypeMethodDescriptionstatic URIgetTemporaryDirectory(Path defaultLocalDirectory) Get the temporary directory to use for integration tests.
-
Field Details
-
INTEGRATION_TEST_TEMP_DIR_ENV_VAR
The environment variable that can be used to override the temporary directory used by the integration tests.- See Also:
-
-
Method Details
-
getTemporaryDirectory
Get the temporary directory to use for integration tests.If the environment variable
INTEGRATION_TEST_TEMP_DIR_ENV_VARis set, it will be used as the temporary directory. Otherwise, the default local temporary directory will be used.The environment variable should be a URI, e.g.
"file:///tmp/polaris"or"s3://bucket/polaris". If the URI does not have a scheme, it will be assumed to be a local file URI.
-