Repository navigation
test: Add functional test for bottlenecks endpoint - #49
Open
roman-parity wants to merge 22 commits into
Open
roman-parity wants to merge 22 commits into
roman-parity wants to merge 22 commits into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
roman-parity
force-pushed
the
functional-tests
branch
3 times, most recently
from
October 29, 2026 12:48
b3b6744 to
53882c1
Compare
* Adds surrounding setup and teardown process * Includes new steps in CI The tests are run using ``` cargo test --test functional ``` Assuming these ENV variables are set: * `TEST_SPAMMER_CMD` containing path to jip-3-spammer binary * `TEST_DATABASE_URL` containing postgres URL to Timescale DB
roman-parity
force-pushed
the
functional-tests
branch
from
October 29, 2026 13:31
53882c1 to
d0c51c9
Compare
roman-parity
force-pushed
the
functional-tests
branch
from
October 29, 2026 13:33
d0c51c9 to
7abb39e
Compare
Cleanup now also runs when setup panics, e.g. when TART fails to spawn.
Fixed seed and a start in the past make the spammer generate the same events on every run, so the full response can be compared.
Since #50 a single cargo test runs every test target, including the functional tests, so it needs the spammer, TART and their ENV vars.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces the first functional test.
The tests are run using
Assuming these ENV variables are set:
TEST_SPAMMER_CMDcontaining path to jip-3-spammer binaryTEST_TART_CMDcontaining path to tart-backend binaryTEST_DATABASE_URLcontaining postgres URL to Timescale DB