accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (Jira)" <>
Subject [jira] [Resolved] (ACCUMULO-2603) Create test-friendly way to get Configuration objects
Date Wed, 13 Nov 2019 23:25:00 GMT


Christopher Tubbs resolved ACCUMULO-2603.
    Resolution: Won't Fix

This issue has been inactive for a very long time. If there is still work to do here, please
open a new issue or pull request at

> Create test-friendly way to get Configuration objects
> -----------------------------------------------------
>                 Key: ACCUMULO-2603
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Bill Havanki
>            Assignee: Bill Havanki
>            Priority: Minor
> It's difficult to unit test code that retrieves configuration objects using static method
calls, like those in {{SiteConfiguration}} and {{ServerConfiguration}}. We should have a different,
similarly easy way to get those objects that makes it easier to swap in / inject mock objects.
> The work here would only be scoped to creating that alternative, and some accompanying
low-impact uses of it.

This message was sent by Atlassian Jira

View raw message