client/hotrod-client/src/test/java/org/infinispan/client/hotrod/query/RemoteQueryStringTest.java
/**
    * This test is overridden because instants need special handling for protobuf (being actually emulated as long
    * timestamps).
    */
This test is overridden because instants need special handling for protobuf (being actually emulated as long
timestamps).
This test is overridden because instants need special handling for protobuf ( being actually emulated as long timestamps ) .
@Override
   public void testInstant1() throws Exception {
      QueryFactory qf = getQueryFactory();
      Query q = qf.create("from " + getModelFactory().getUserTypeName() + " u where u.creationDate = " + Instant.parse("2011-12-03T10:15:30Z").toEpochMilli());
      List<User> list = q.list();
      assertEquals(3, list.size());
   }
@ Override public void testInstant1 ( ) throws Exception { QueryFactory qf = getQueryFactory ( ) ; Query q = qf . create ( "from " + getModelFactory ( ) . getUserTypeName ( ) + " u where u.creationDate = " + Instant . parse ( "2011-12-03T10:15:30Z" ) . toEpochMilli ( ) ) ; List < User > list = q . list ( ) ; assertEquals ( 3 , list . size ( ) ) ; }
This test is overridden because instants need special handling for protobuf (being actually emulated as long
 timestamps).
This test is overridden because instants need special handling for protobuf ( being actually emulated as long timestamps ) .