Nick Allen created METRON-2172:
----------------------------------
Summary: 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
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
(v7.6.3#76005)