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

Add consumer close stream test cases

    XMLWordPrintable

Details

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

    Description

      1. Test close stream for non-upr connection

      • Send an upr close stream and expect to be disconnects

      2. Test close stream when non exists

      • Send open connection to consumer
      • Send close stream to some vbucket and expect key_noent

      3. Test close stream wrong opaque

      • Send open connection
      • Send add stream request for vbucket 0
      • Get the opaque for the stream from the stats
      • Send close stream with a different opaque value and expect an exists error

      4. Test close stream

      • Send open connection
      • Send add stream request for vbucket 0
      • Get the opaque for the stream from the stats
      • Send a close stream with the correct opaque and expect success
      • Send a stats request an make sure that the stream is in dead state

      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