paul-rogers opened a new issue, #12639:
URL: https://github.com/apache/druid/issues/12639
When debugging an issue, tried to run `DruidAvaticaJsonHandlerTest` in an
IDE. Ran into a number of issues. First, `DruidAvaticaJsonHandlerTest` is a
derived class, with `DruidAvaticaHandlerTest` as the base class. This means
that the IDE cannot easily run the tests in the base class using the methods in
the derived class. The tests should be restructured so that tests only appear
in base classes.
Next, when running the entire class in an IDE, three methods are flaky.
* `testConcurrentQueries()` failed one time in the IDE, apparently with an
NPE, worked other times.
* `testTimestampsInResponse()` failed, perhaps because the Mac running the
test is not in the expected (UTC?) time zone?
* `testTimestampsInResponseLosAngelesTimeZone()` failed with the same issue.
Reason for suspecting the test depends on the host timezone: it runs in
Travis, fails on the Mac, with this error:
```text
java.lang.AssertionError: expected:<
[{__time=1999-12-31 08:00:00.0, t2=1999-12-30}]> but was:<
[{__time=1999-12-31 16:00:00.0, t2=1999-12-31}]>
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]