suztomo edited a comment on pull request #14527:
URL: https://github.com/apache/beam/pull/14527#issuecomment-819028655


   `:sdks:java:core:compileTestJava` failed:
   
   ```
   > Task :sdks:java:core:compileTestJava
   
/Users/suztomo/beam/sdks/java/core/src/test/java/org/apache/beam/sdk/metrics/MetricsTest.java:450:
 error: incompatible types: inferred type does not conform to lower bound(s)
       assertThat(
                 ^
       inferred: MetricResult<DistributionResult>
       lower bound(s): CAP#1,MetricResult<DistributionResult>
     where CAP#1 is a fresh type-variable:
       CAP#1 extends Object super: MetricResult<DistributionResult> from 
capture of ? super MetricResult<DistributionResult>
   
   ```
   
   MetricsTest.java:450 has
   
   ```
       assertThat(
           metrics.getDistributions(),
           anyOf(
               // Step names are different for portable and non-portable 
runners.
               hasItem(
                   (Matcher<MetricResult<DistributionResult>>)
                       distributionMinMax(
                           NAMESPACE,
                           "bundle",
                           "MyStep1/ParMultiDo(Anonymous)",
                           10L,
                           40L,
                           isCommitted)),
               hasItem(
                   (Matcher<MetricResult<DistributionResult>>)
                       distributionMinMax(
                           NAMESPACE,
                           "bundle",
                           "MyStep1-ParMultiDo-Anonymous-",
                           10L,
                           40L,
                           isCommitted))));
   ```
   
   This problem didn't occur with protobuf-java 3.14.0.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to