murong00 opened a new pull request #6682: [hotfix] Fix flaky test in InfluxDBSinkTest URL: https://github.com/apache/pulsar/pull/6682 ### Motivation In some new added pull requests the `CI - Unit / unit-tests` failed as below: ``` [ERROR] testJsonSchema on testJsonSchema(org.apache.pulsar.io.influxdb.v2.InfluxDBSinkTest)(org.apache.pulsar.io.influxdb.v2.InfluxDBSinkTest) Time elapsed: 0.026 s <<< FAILURE! java.lang.AssertionError: expected: java.lang.String<1586235436221> but was: java.lang.Long<1586235436221> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.pulsar.io.influxdb.v2.InfluxDBSinkTest.testJsonSchema(InfluxDBSinkTest.java:110) ``` ### Modifications Just compare the `String` type when using `GenericJsonSchema` to pass the unit tests.
---------------------------------------------------------------- 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] With regards, Apache Git Services
