And I delete all indices | 0 ms | Passed |
And I pick message number 0 from the list "AccountMessages" and remember it as "QueriedMessage" | 0 ms | Passed |
And I select account "kapua-sys" | 0 ms | Passed |
And I set the database to server timestamp indexing | 0 ms | Passed |
And I store the message "TestMessageWithNullPayload" with the server time and remember its ID as "TestMessageId" | 0 ms | Passed |
And The device "test-device-1" | 0 ms | Passed |
Given I delete all indices | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: Test the message store with server timestamp indexing | 5 ms | Passed |
Then I refresh all indices | 0 ms | Passed |
Then The datastore message "QueriedMessage" matches the prepared message "TestMessageWithNullPayload" | 0 ms | Passed |
When I perform a default query for the account messages and store the results as "AccountMessages" | 0 ms | Passed |
When I prepare a random message with null payload and save it as "TestMessageWithNullPayload" | 0 ms | Passed |