Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3629

Update TestServer to remove the call to invalidate() from its constructor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Test Coverage
    • Labels:
      None

      Description

      TestServer sends its change event synchronously from its constructor. So the event actually happens before the call to publishDescription from SingleServerCluster's constructor.
      Removing the call to invalidate from TestServer's constructor would make it more realistic.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            john.stewart John Stewart (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: