Skip to content

Commit

Permalink
feat(postgres): complete implementation of driver and apply more tests (
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status committed Jun 9, 2023
1 parent 9c04b59 commit 5fc5770
Show file tree
Hide file tree
Showing 5 changed files with 1,473 additions and 31 deletions.
1 change: 1 addition & 0 deletions tests/all_tests_v2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ when os == "Linux":
# GitHub only supports container actions on Linux
# and we need to start a postgress database in a docker container
import
./v2/waku_archive/test_driver_postgres_query,
./v2/waku_archive/test_driver_postgres

# Waku store test suite
Expand Down
2 changes: 1 addition & 1 deletion tests/v2/waku_archive/test_driver_postgres.nim
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ suite "Postgres driver":
contentTopic2],
cursor = some(
computeTestCursor(pubsubTopic1,
messagesRes.get()[0][1])))
messagesRes.get()[1][1])))
require messagesRes.isOk()
require messagesRes.get().len == 1

Expand Down

0 comments on commit 5fc5770

Please sign in to comment.