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

Implement all of the current stream request test cases in pyupr

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • None
    • Security Level: Public
    • None
    • 2
    • UPR - 11/25 - 12/13

    Description

      Send Stream request (No open connection)

      1. Send a stream request message (Don’t send an open connection command)
      2. Check to see if the connection was closed

      Send stream request (Wrong connection type)

      1. Send an open connection for a consumer
      2. Send a stream request message
      3. Check to see if the client is disconnected
      4. Send stream request

      Send open connection for a producer

      1. Send a stream request (start seqno = 0, end seqno = 0, vb uuid = 0, high seqno = 0)
      2. Expect to get an ok message followed by a stream end message

      Send stream request for non-existent vbucket

      1. Send open connection for producer
      2. Send a stream request for vbucket 1025 and expect a not my vbucket error

      Send two stream requests for the same vbucket

      1. Send an open connection for producer
      2. Send a stream request for and specify the end sequence number as 100
      3. Verify that this stream has been succesfully created by checking the stats
      4. Send another stream request for the same vbucket and expect and EXISTS error
      5. Check the upr stats again and make sure that the initial stream still exists.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty