[ https://issues.apache.org/jira/browse/METRON-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Allen updated METRON-2172: ------------------------------- Fix Version/s: Next + 1 > Solr Updates Not Tested in Integration Test > ------------------------------------------- > > Key: METRON-2172 > URL: https://issues.apache.org/jira/browse/METRON-2172 > Project: Metron > Issue Type: Bug > Reporter: Nick Allen > Assignee: Nick Allen > Priority: Major > Fix For: Next + 1 > > Time Spent: 2h 50m > Remaining Estimate: 0h > > The `SolrUpdateIntegrationTest` is not testing that the `SolrDao` can update > and retrieve values in a manner similar to what would occur in production. > h3. What? > This gap in the integration test is hiding a few existing bugs in the > SolrUpdateIntegrationTest. > # The timestamp is not being populated in the returned documents. > # A NullPointerException occurs if a document does not contain a sensor type. > # The comments are serialized and deserialized in multiple places and may be > stored as either a Map or JSON string. > h3. Proof? > If you alter the test to run against just a `SolrDao` the integration test > will fail. -- This message was sent by Atlassian Jira (v8.3.4#803005)