Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15543

WorkDirectoryExtension should be able to inject into static variables

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha3
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              apolovtcev Aleksandr Polovtsev
              apolovtcev Aleksandr Polovtsev
              Ivan Bessonov Ivan Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h