Skip to content

Test-framework support for the multi-runtime tests - #94

Open
KnorrFG wants to merge 4 commits into
fknorr/fix-re-placement-overridefrom
fknorr/multi-runtime-tests
Open

KnorrFG wants to merge 4 commits into
fknorr/fix-re-placement-overridefrom
fknorr/multi-runtime-tests

Conversation

@KnorrFG

@KnorrFG KnorrFG commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Additions the new multi-runtime tests need, and the pin to them.

Tests: peeriot/swarm-ci branch fknorr/multi-runtime-tests. Based on
fknorr/fix-re-placement-override.

Changes

  • SupervisionTiming::DEFAULT and RESTART_DEPLOY_TIMEOUT are public in
    sorg_common::supervision, so tests derive their failover timeout from the
    timing the runtimes use. RESTART_DEPLOY_TIMEOUT moves there from
    sorg-orchestration.
  • test-framework:
    • DeployedCell::replicate([tags]) runs myrmic replicate <sri> --tag ....
      It takes an array that must not be empty, checked at compile time: without
      tags the command only shows the cell's entry.
    • Swarm::scope_holder(&scope) asks the db which runtime holds a scope. A
      cell's data has exactly one holder until it is replicated, and that need
      not be the cell's host. Needs db-client's replica feature.
    • DebugListener::buffered_entries() returns the entries the debug stream
      has printed so far, without waiting.
  • .ci/tests.ref pins the swarm-ci branch.

@KnorrFG
KnorrFG added this pull request to stack #91 October 29, 2026 12:52
@KnorrFG
KnorrFG force-pushed the fknorr/multi-runtime-tests branch from 8ed1e69 to f44600f Compare October 29, 2026 12:53
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.

1 participant