Remove incidentally mutable EventBuffer methods

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Rust Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Some methods on EventBuffer (get_command_events, get_successful_command_execution) are a combination of search and mutate methods; these make it hard to reason about test behavior and in most cases the mutability isn't actually needed.  We should remove them in favor of immutable methods and have additional explicit mutability for when it's really necessary.

            Assignee:
            Abraham Egnor
            Reporter:
            Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: