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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Test Coverage
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: