dotnet / dotnet/efcore

Cosmos: improve testing speed

Open
#33,983 3 comments 0 reactions 0 assignees View on GitHub
area-cosmos area-test customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

It's likely that we have certain tests which take a very long time (possibly anything needing to create databases/containers), but the majority of tests seem to run very fast (e.g. all query tests combined are a small fraction of the total assembly running time). We should find out which tests are the worst offenders and see if there's something we can do about them.

Also, look into enabling test parallelization (this is currently disabled via `[assembly: CollectionBehavior(DisableTestParallelization = true)]`). As above, it's likely we have some tests which cannot be parallelized, but we do it for those tests only rather than disabling for the entire assembly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.