You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/11 05:17:14 UTC

[GitHub] [camel-k] tadayosi commented on pull request #2745: chore(e2e): disable object truncation on test results

tadayosi commented 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",
           	                            },
           	                        },
   ```


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org