M. J. Fromberger
e5db184820
Drop a redundant select statement.
2021-08-27 15:11:10 -07:00
M. J. Fromberger
53a7533eda
Patch a lint warning.
2021-08-27 15:10:25 -07:00
M. J. Fromberger
da8e2e6c70
Remove an unnecessary name dependency.
2021-08-27 15:07:00 -07:00
M. J. Fromberger
46c232b7f5
Drop the test data file.
2021-08-27 14:49:21 -07:00
M. J. Fromberger
8ecffafc31
Compact test data; add more repeat cases.
2021-08-27 14:39:40 -07:00
M. J. Fromberger
ced2ebc437
Give block_id a consistent name
2021-08-27 14:39:26 -07:00
M. J. Fromberger
c10c12076e
Add a test for events with repeated keys
2021-08-27 14:33:08 -07:00
M. J. Fromberger
6944ae82c6
Correctly index meta-events.
2021-08-27 13:58:38 -07:00
M. J. Fromberger
466231e4d6
Include creation time in the tx_event view
2021-08-27 13:47:28 -07:00
M. J. Fromberger
d95368f11e
Rename the debuf flag -pause-at-exit
2021-08-27 13:47:07 -07:00
M. J. Fromberger
ce05cb67ac
Fix indexing of duplicate transactions.
2021-08-27 13:46:32 -07:00
M. J. Fromberger
06849c72e1
Fix an overly-broad query.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
81c6363b20
More uses of verifyNotImplemented.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
13572b4dca
Remove per-test setup and teardown
2021-08-27 13:18:31 -07:00
M. J. Fromberger
600147a5fc
Make chainID a const
2021-08-27 13:18:31 -07:00
M. J. Fromberger
01f4846518
Implement a custom TestMain function.
...
This avoids having to set up and tear down the database multiple times.
That in turn is necessary so that we don't discard data we need to test.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
217b411753
Fix placeholders.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
dd9823274c
Fix a test result
2021-08-27 13:18:31 -07:00
M. J. Fromberger
9a621d434b
Add a -debug flag to the test for manual inspection
2021-08-27 13:18:31 -07:00
M. J. Fromberger
701e9329ea
Fix INSERT queries that need to report an ID.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
fdcfac75c8
Fix PostgreSQL placeholders.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
d97babae16
WIP: update tests further
2021-08-27 13:18:31 -07:00
M. J. Fromberger
da3af7e401
Fix SQL placeholders for PostgreSQL.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
50a23cb6b4
Some minor readability fixes.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
3b441e1751
Fix an assertion typo.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
1d99e08ef3
Add comments.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
35bffbd9c4
Rework the main test to use helpers.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
63be659f80
Add constants for the events views.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
91d9b67063
Remove an(other) unnecessary import alias.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
6995e1d18a
Clean up schema reading.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
4a1358ea5a
Defer pool teardowns so it's easier to be sure they happen.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
309fd9abde
Get rid of an unnecessary temporary.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
87834e1ec7
Rework setup and teardown as must functions.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
31491dc80f
Remove an unnecessary import alias.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
cb70f03523
WIP update verifyTimeStamp
2021-08-27 13:18:31 -07:00
M. J. Fromberger
5e11a581a0
WIP: Start updating tests
2021-08-27 13:18:31 -07:00
M. J. Fromberger
f1cdb4341d
WIP: add schema test data (do not merge)
2021-08-27 13:18:31 -07:00
M. J. Fromberger
ee06c99e20
WIP: update for new schema, builds but untested
2021-08-27 13:18:31 -07:00
M. J. Fromberger
b62e185578
WIP: start rewriting queries
2021-08-27 13:18:31 -07:00
M. J. Fromberger
2351d3da61
Unexport database constants.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
615164ed57
Make constants const.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
11c92ec4e2
Put side-effecting imports in their own section
2021-08-27 13:18:31 -07:00
M. J. Fromberger
33401d8703
Move the interface satisfaction test to the test.
2021-08-27 13:18:31 -07:00
M. J. Fromberger
b9aebac17b
WIP: schema changes (not ready)
2021-08-27 13:18:31 -07:00
Sam Kleinman
0df421b37f
e2e: add weighted random configuration selector ( #6869 )
...
When revwing #6807 I assumed that `probSetChoice` worked this way.
I think that the coverage of various configuration options should
generally track what we expect the actual useage to be to focus the
most test coverage on the configurations that are the most prevelent.
2021-08-27 16:32:40 +00:00
Sam Kleinman
94e1eb8cfe
rfc: fix link style ( #6870 )
...
This is super minor, but chaning this to fix a broken link and to
match the existing style of the ADRs.
2021-08-27 16:21:12 +00:00
Sam Kleinman
23abb0de8b
rfc: p2p next steps ( #6866 )
2021-08-27 12:14:59 -04:00
Aleksandr Bezobchuk
58a6cfff9a
internal/consensus: update error log ( #6863 )
...
Issues reported in Osmosis, where the message is extremely long. Also, there is absolutely no reason to log the message IMO. If we must, we can make the message log DEBUG.
2021-08-25 22:43:21 +00:00
Sam Kleinman
6e921f6644
p2p: change default to use new stack ( #6862 )
...
This is just a configuration change to default to using the new stack
unless explicitly disabled (e.g. `UseLegacy`) this renames the
configuration value and makes the configuration logic more clear.
The legacy option is good to retain as a fallback if the new stack has
issues operationally, but we should make sure that most of the time
we're using the new stack.
2021-08-25 17:33:38 +00:00
Sam Kleinman
a0a5d45cb1
lint: change deprecated linter ( #6861 )
...
This is a super minor change that silences a warning when running the linter locally.
2021-08-25 12:26:11 +00:00