Ivan Andika created HDDS-14201:
----------------------------------
Summary: Configuration is not picked up in contract test
Key: HDDS-14201
URL: https://issues.apache.org/jira/browse/HDDS-14201
Project: Apache Ozone
Issue Type: Bug
Reporter: Ivan Andika
Assignee: Ivan Andika
We have contract tests in AbstractOzoneContractTest, which implements
createConfiguration and createContract.
There are a few issues with the configurations, not sure if there are any
reasons
* createConfiguration does not call the super.createConfiguration
** For example, AbstractContractSeekTest#createConfiguration set
"io.file.buffer.size" configuration, but since
TestContractSeek#createConfiguration does not call
AbstractContractSeekTest#createConfiguration and simply calls
AbstractOzoneContractTest#createOzoneConfig
** This means that "io.file.buffer.size" remains unchanged
* AbstractOzoneContractTest#createOzoneContract implementations ignore the
passed Configuration
** See createContract in AbstractFSContractBase#setup
** See TestRootedOzoneContract, TestOzoneContractFSO, TestOzoneContractLegacy
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]