Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3652 Remove test hooks from production code.
  3. GEODE-5160

Remove test hooks from o.a.g.d.i.membership.gms.interfaces.Service

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • membership
    • None

    Description

      Service has the following methods:

        /**
         * test method for simulating a sick/dead member
         */
        void beSick();
      
        /**
         * test method for simulating a sick/dead member
         */
        void playDead();
      
        /**
         * test method for simulating a sick/dead member
         */
        void beHealthy();
      

      It doesn't make sense for all services to have to implement these, especially since most services make these a no-op. Let's cast where we know what we're looking for instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gosullivan Galen O'Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: