Skip to content

test: Add functional test for bottlenecks endpoint - #49

Open
roman-parity wants to merge 22 commits into
mainfrom
functional-tests
Open

roman-parity wants to merge 22 commits into
mainfrom
functional-tests

Conversation

@roman-parity

@roman-parity roman-parity commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Introduces the first functional test.

  • Adds surrounding setup and teardown process
  • Includes new steps in CI
  • Tests that bottlenecks endpoint detects work-packages from received events

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_TART_CMD containing path to tart-backend binary
  • TEST_DATABASE_URL containing postgres URL to Timescale DB

@socket-security

socket-security Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednix@​0.30.1791009310070

View full report

@roman-parity
roman-parity force-pushed the functional-tests branch 3 times, most recently from b3b6744 to 53882c1 Compare October 29, 2026 12:48
* 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
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/bottlenecks.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Comment thread tests/functional_tests/mod.rs Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants