[tests] E2E integration tests need live stack — currently #[ignore]'d for CI; fix the --start/--stop CLI compat #14
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_indexer#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
crates/hero_indexer_examples/tests/integration.rshas 5#[tokio::test]functions that all fail in CI with:The header comment for the file already explicitly says these tests need a live stack:
They should be
#[ignore]'d so they don't fail CI; runnable on demand viacargo test -- --ignoredon a dev box with the live setup.Applied as part of the home#188 CI sweep PR ([hero_indexer#N — to be filled]).
What needs to happen
--start/--stopCLI subcommands on thehero_indexerbinary (matching the test's expectations), OR rewrite the tests to not rely on the binary's CLI subcommand (e.g. start the server in-process for tests)#[ignore]Why they were #[ignore]'d not deleted
Unlike the hero_matrixchat case (where the test code referenced types that no longer exist), these tests compile fine — they just need a CLI subcommand that's been removed/renamed. The test logic is good; only the setup harness is broken.
#[ignore]preserves the code for when the CLI is fixed; deletion would lose useful test scaffolding.Related
Signed-off-by: mik-tf