tadayosi edited a comment on pull request #2745: URL: https://github.com/apache/camel-k/pull/2745#issuecomment-965997722
Now it shows where the mismatch is: ``` === RUN TestMetrics/reconciliation_duration_metric operator_metrics_test.go:256: Expected <string>: MetricFamily to match fields: { .Metric: Expected ... Histogram: { SampleCount: 272, ... to contain element matching ... "Histogram": <*gstruct.PointerMatcher | 0xc00061c140>{ Matcher: <*gstruct.FieldsMatcher | 0xc000add1d0>{ Fields: { "SampleCount": <*gstruct.PointerMatcher | 0xc00061c120>{ Matcher: <*matchers.EqualMatcher | 0xc000c660a0>{Expected: <uint64>12}, failure: "Expected\n <uint64>: 272\nto equal\n <uint64>: 12", }, }, ``` What a difference! :smiley: `SampleCount: 272 != 12` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org