Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
None
Description
The `SolrUpdateIntegrationTest` is not testing that the `SolrDao` can update and retrieve values in a manner similar to what would occur in production.
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.
Proof?
If you alter the test to run against just a `SolrDao` the integration test will fail.