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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Coverage
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: