Github user merrimanr commented on a diff in the pull request:
https://github.com/apache/metron/pull/911#discussion_r164881484
--- Diff:
metron-platform/metron-indexing/src/test/java/org/apache/metron/indexing/dao/SearchIntegrationTest.java
---
@@ -443,11 +495,11 @@ public void all_query_returns_all_results() throws
Exception {
Assert.assertEquals(10, results.size());
for(int i = 0;i < 5;++i) {
Assert.assertEquals("snort",
results.get(i).getSource().get("source:type"));
- Assert.assertEquals(10 - i,
results.get(i).getSource().get("timestamp"));
+ Assert.assertEquals(10 - i + "",
results.get(i).getSource().get("timestamp").toString());
--- End diff --
The ES and Solr clients return different types (Int vs Longs) so I am
converting to string to account for that. I'm not sure this is the correct
approach and open to ideas.
---