Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0] [tests] Improve building+sending tests to helix #3622

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 11, 2024

Backport of #3496 to release/8.0

/cc @radical

Customer Impact

Testing

Risk

Regression?

Microsoft Reviewers: Open in CodeFlow

Currently, `tests/send-to-helix.proj` builds once and constructs various
`@(HelixWorkItem)`s for end-to-end tests, and basic tests that don't
need a workload.

Because of the way Helix SDK works, this ends up sharing some stuff like
`HelixPreCommand`, and `HelixPostCommand`. But the different kinds of
tests don't need the same pre/post commands, and the targets need to be
careful not to step on each other's items/properties.

To avoid all this, and keep it clean a new top-level project
`tests/send-to-helix-ci.proj` is added which essentially builds the
existing project multiple times, once for each test type (called Test
Category here).

Thus you have:

```
send-to-helix-ci.proj runs the following in parallel:
    => send-to-helix-inner.proj testCategory=basictests
        -> send, and wait for the helix jobs
    => send-to-helix-inner.proj testCategory=endtoendtests
        -> send, and wait for the helix jobs
```
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 11, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 11, 2024
@danmoseley
Copy link
Member

infra/tests only. auto approved

@danmoseley danmoseley enabled auto-merge (squash) April 12, 2024 00:03
@danmoseley danmoseley merged commit 4976389 into release/8.0 Apr 12, 2024
7 checks passed
@danmoseley danmoseley deleted the backport/pr-3496-to-release/8.0 branch April 12, 2024 00:36
@danmoseley danmoseley mentioned this pull request Apr 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants