Azure / Azure/azure-functions-core-tools

Test Refactor: Investigate enabling parallel tests

Open
#3,852 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

### Description

We currently have parallel tests disabled.

https://github.com/Azure/azure-functions-core-tools/blob/37b826f143b99cd62308b88320e71aa806f6197f/test/Azure.Functions.Cli.Tests/xunit.runner.json#L2

Could we investigate what can be done so that it can be enabled? Could we run multiple func.exe process at same time, with unique port numbers?

Contributor guide

Open the contributing guide

Research direction

Start at test/Azure.Functions.Cli.Tests/xunit.runner.json line 2, where parallel tests are disabled, and inspect how the tests launch func.exe processes. Investigate whether concurrent processes can use unique port numbers without interfering. Done means parallel testing can be enabled safely, or the blocking constraints are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.