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

Replace the usage of Common Test Strings with Named Constants

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • eventing
    • 0

    Description

      In the fileĀ eventing/tests/functional_tests/bucket_ops_test.go, the string dst_bucket is used very frequently. Hence, it would be beneficial to convert this string to a named constant defined in the file eventing/tests/functional_tests/defs.go like how we define and use the constant dstBucket.

      Note:

      Attachments

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

        Activity

          People

            ankit.prabhu Ankit Prabhu
            rishit.chaudhary Rishit Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty