Skip to content

Isolate integration test runs by branch #278

Closed

Description

@bart-vmware

Integration tests for Steeltoe samples run on PRs and on the main/latest branch. Although we recently randomized the routes, they all run in the same CloudFoundry space with fixed names, which means they influence each other.

One solution is to run them in different CF spaces, for example in /Home/steeltoe-samples/branch-name instead of the current /Home/steeltoe-samples.

Activity

  1. TimHess commented on Feb 10, 2025

    @TimHess
    Member

    I don't think running in parallel is practical for how we're currently running tests since the path filters aren't working and we don't even have capacity to simultaneously run one round of tests

  2. bart-vmware commented on Feb 10, 2025

    @bart-vmware
    MemberAuthor

    This is about isolation, not parallelism. Samples tend to create a database. If the schema differs per branch, it won't succeed because the existing schema is incompatible. Using different spaces solves that.

    Path filters are supposed to address parallelism, that's unrelated to this issue.

  3. changed the title [-]Isolate integration testruns so they can run in parallel[/-] [+]Isolate integration test runs by branch[/+] on Feb 10, 2025
  4. TimHess commented on Feb 26, 2025

    @TimHess
    Member

    This is about isolation, not parallelism. Samples tend to create a database. If the schema differs per branch, it won't succeed because the existing schema is incompatible. Using different spaces solves that.

    Path filters are supposed to address parallelism, that's unrelated to this issue.

    Unrelated until we run out of capacity anyway...

    I tried a strategy for this in #361, but due to PR shuffling we'll want to re-apply the effort, ensuring to delete spaces after the run (as described in a comment on that PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions