Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-349

Clear up static resources of default Helper at deactivate

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.10, 4.0.0-BETA5
    • Fix Version/s: 3.0.11, 4.0.0
    • Component/s: Rule Helpers
    • Labels:
      None

      Description

      Static fields in the default helper class Helper are used to retain state created by its builtin operations such as flags, counters, trace streams etc. Rule scripts do not always clear out such rule state after a test or monitoring run.

      Ideally, when all rules employing class Helper are uninstalled the deactivated lifecycle method of class Helper should clear all such resources, ensuring that any newly loaded rules do not see rule state belonging to a previous test run or monitoring session.

      Implementation of this feature requires a prior fix to BYTEMAN-348.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adinn Andrew Dinn
                  Reporter:
                  adinn Andrew Dinn
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: