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

XDCR - mock generation to use mockery config file

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.6.0
    • XDCR
    • None
    • 0

    Description

      XDCR has used the old style of mockery generation. Now, the old style is being deprecated and a new one is to be used, with a YAML config file.

      See: https://landontclipp.github.io/blog/2023/06/21/introducing-mockerys-new-packages-feature/
      And
      https://github.com/vektra/mockery/discussions/549

      This MB is to update the goxdcr repo such that mock generation for unit test will use the new format.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-57809
          # Subject Branch Project Status CR V

          Activity

            People

              neil.huang Neil Huang
              neil.huang Neil Huang
              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