Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-9925

Test stream end upr api

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • None
    • Security Level: Public
    • None
    • 1
    • UPR - 1/30 - 2/17

    Description

      1. Send stream end command when no stream exists

      • Send the stream end command and expect to be disconnected

      2. Send stream end command to producer

      • Open a producer connection
      • Send a stream end command and expect to be disconnected

      3. Send a stream end command for an invalid stream

      • Open a consumer connection
      • Send a stream end command and expect success

      4. Send a stream end command to a valid stream

      • Open a consumer connection
      • Send an add stream request for some vbucket
      • Check the stats to make sure the connection exists and is not in dead state
      • Send a stream end command for the opened stream and expect success
      • Check the stats to make sure the connection is in dead state

      One thing to note here is that I am note sure whether or not the stream end command returns a response or if it is a silent command. If it is silent then just don't wait for a response and poll the stats for a reasonable amount of time to try to figure out if the stream end message was processed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tommie Tommie McAfee (Inactive)
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty