Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
test(e2e): handle messages arriving later
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Dec 15, 2020
1 parent 5dca649 commit f1750d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/DeviceMessages.feature
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ Feature: Device: Messages
"""
SELECT measure_value::double AS value
FROM "{historicaldataDatabaseName}"."{historicaldataTableName}"
WHERE deviceId='{cat:id}' AND measure_name='btn' AND measure_value::double IS NOT NULL LIMIT 2
WHERE deviceId='{cat:id}' AND measure_name='btn' AND measure_value::double IS NOT NULL
ORDER BY time DESC
LIMIT 2
"""
Then "timestreamQueryResult" should match this JSON
"""
Expand Down

0 comments on commit f1750d9

Please sign in to comment.