You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr Polovtcev (Jira)" <ji...@apache.org> on 2021/09/20 19:05:00 UTC

[jira] [Updated] (IGNITE-15543) WorkDirectoryExtension should be able to inject into static variables

     [ https://issues.apache.org/jira/browse/IGNITE-15543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandr Polovtcev updated IGNITE-15543:
-----------------------------------------
    Priority: Minor  (was: Major)

> WorkDirectoryExtension should be able to inject into static variables
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-15543
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15543
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Minor
>
> Currently, {{WorkDirectoryExtension}} supports only non-static field and parameter injection. This is inconvenient in some test scenarios, e.g. when an Ignite cluster is created for the whole test class life duration (i.e. it is set up in the `BeforeAll` method), which requires a work directory with the corresponding life cycle.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)