Test Result : Scenario: Check the database cache coherency

0 failures
15 tests
Took 11 ms.

All Tests

Test nameDurationStatus
And Account for "kapua-sys"0 msPassed
And All indices are deleted0 msPassed
And I prepare a random message and save it as "RandomDataMessage1"0 msPassed
And I refresh all database indices0 msPassed
And I search for a data message with ID "RandomDataMessage1Id" and remember it as "DataStoreMessageNew"0 msPassed
And I store the message "RandomDataMessage1" and remember its ID as "RandomDataMessage2Id"0 msPassed
And The device "test-device-1"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Check the database cache coherency11 msPassed
Then I clear all the database caches0 msPassed
Then I store the message "RandomDataMessage1" and remember its ID as "RandomDataMessage1Id"0 msPassed
Then The datastore message "DataStoreMessage" matches the prepared message "RandomDataMessage1"0 msPassed
Then The datastore messages "DataStoreMessage" and "DataStoreMessageNew" match0 msPassed
When I refresh all database indices0 msPassed
When I search for a data message with ID "RandomDataMessage1Id" and remember it as "DataStoreMessage"0 msPassed