Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

[13:11:25 CDT(-0500)] <drewwills> Are you there EricDalquist? I've done some research on the aggr test failures

[13:11:32 CDT(-0500)] <EricDalquist> hi

[13:11:34 CDT(-0500)] <EricDalquist> whats up?

[13:11:50 CDT(-0500)] <drewwills> I've made some observations, but not sure I know it intimately enough to choose a path

[13:11:58 CDT(-0500)] <EricDalquist> ok

[13:12:12 CDT(-0500)] <drewwills> it does seem to be related to timezone shift of some ilk

[13:12:31 CDT(-0500)] <drewwills> i'm getting "java.lang.AssertionError: expected:<158> but was:<0>"

[13:12:38 CDT(-0500)] <drewwills> so no hits

[13:12:56 CDT(-0500)] <EricDalquist> right

[13:13:12 CDT(-0500)] <drewwills> but if I change: final DateTime queryEnd = queryStart.plusDays(1).minusSeconds(1); >>>> final DateTime queryEnd = queryStart.plusDays(2).minusSeconds(1);

[13:13:28 CDT(-0500)] <drewwills> (thereby extending the query by 24 hrs)

[13:13:55 CDT(-0500)] <drewwills> i still get a mismatch in those numbers, but it's no longer zero

[13:14:03 CDT(-0500)] <EricDalquist> ok

[13:14:18 CDT(-0500)] <drewwills> so events are going in, they're just going in at instants that are outside the query range

[13:14:28 CDT(-0500)] <drewwills> also...

[13:14:41 CDT(-0500)] <drewwills> the test is preparing the range in UTC

[13:15:15 CDT(-0500)] <drewwills> but the query code (not in test – in src/main/java) appears to be querying in local time

[13:15:40 CDT(-0500)] <drewwills> JpaBaseAggregationDao.getAggregations

[13:16:47 CDT(-0500)] <EricDalquist> well that would use whatever the TZ is on the start/end objects that are passed in

[13:16:57 CDT(-0500)] <EricDalquist> I think

  • No labels