Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3652

Remove test hooks from production code.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • general, tests
    • None

    Description

      Test hooks represent suboptimal design at best and significant security, stability, and performance concerns in practice. These test hooks should be removed. Tests relying on them should, for instance, use Mockito spys to inject test code in the desired location. This will likely require nontrivial refactoring of the class in question.

      Attachments

        Activity

          People

            Unassigned Unassigned
            prhomberg Patrick Rhomberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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