Skip to content

Replace non-public ConfigurationImpl in tests #3375

@SethSmucker

Description

@SethSmucker

Summary

Replace non-public org.apache.accumulo.core.util.ConfigurationImpl with public alternative in test files.

Non-Public Class

  • org.apache.accumulo.core.util.ConfigurationImpl

Solution

Use org.apache.accumulo.core.conf.DefaultConfiguration or create a test-specific configuration implementation.

Files Affected

  • warehouse/age-off/src/test/java/datawave/iterators/filter/ageoff/ConfigurableIteratorEnvironment.java
  • warehouse/query-core/src/test/java/datawave/query/iterator/QueryIteratorIT.java
  • warehouse/query-core/src/test/java/datawave/query/iterator/SourceManagerTest.java

Note: core/in-memory-accumulo/src/main/java/datawave/accumulo/inmemory/MockPluginEnvironment.java also uses this but may be addressed by stacked branches (#3253#3345).

Part of #2443

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions