summaryrefslogtreecommitdiffstats
path: root/ci/azure-loom.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/azure-loom.yml')
-rw-r--r--ci/azure-loom.yml25
1 files changed, 18 insertions, 7 deletions
diff --git a/ci/azure-loom.yml b/ci/azure-loom.yml
index fdfb8670..001aedec 100644
--- a/ci/azure-loom.yml
+++ b/ci/azure-loom.yml
@@ -1,6 +1,18 @@
jobs:
- job: ${{ parameters.name }}
displayName: Loom tests
+ strategy:
+ matrix:
+ rest:
+ scope: --skip loom_pool
+ pool_group_a:
+ scope: loom_pool::group_a
+ pool_group_b:
+ scope: loom_pool::group_b
+ pool_group_c:
+ scope: loom_pool::group_c
+ pool_group_d:
+ scope: loom_pool::group_d
pool:
vmImage: ubuntu-16.04
@@ -9,10 +21,9 @@ jobs:
parameters:
rust_version: ${{ parameters.rust }}
- - ${{ each crate in parameters.crates }}:
- - script: RUSTFLAGS="--cfg loom" cargo test --lib --release --features "full" -- --test-threads=1 --nocapture
- env:
- LOOM_MAX_PREEMPTIONS: 1
- CI: 'True'
- displayName: test ${{ crate }}
- workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
+ - script: RUSTFLAGS="--cfg loom" cargo test --lib --release --features "full" -- --nocapture $(scope)
+ env:
+ LOOM_MAX_PREEMPTIONS: 2
+ CI: 'True'
+ displayName: $(scope)
+ workingDirectory: $(Build.SourcesDirectory)/tokio