Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3767

FIT Query: metricsAreAbsentUnlessRequested fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • fit-performer
    • None
    • None
    • None

    Description

      Motivation

      The test metricsAreAbsentUnlessRequested() is failing due to the performer returning metrics when not requested.

      Root Issue

      This is due to the SDK's QueryMetaData object initialising its QueryMetrics property at creation (per RFC, as the property is not nullable) and the performer only checking for null. Since the metrics in the response aren't null, the gRPC object is created and is empty.

       

      Attachments

        For Gerrit Dashboard: NCBC-3767
        # Subject Branch Project Status CR V

        Activity

          People

            emilien.bevierre Emilien Bevierre
            emilien.bevierre Emilien Bevierre
            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