diff --git a/test/integration/scheduler_perf/dra/prioritizedlist/performance-config.yaml b/test/integration/scheduler_perf/dra/prioritizedlist/performance-config.yaml index 46a4e5442ab..f927ca0e6f5 100644 --- a/test/integration/scheduler_perf/dra/prioritizedlist/performance-config.yaml +++ b/test/integration/scheduler_perf/dra/prioritizedlist/performance-config.yaml @@ -35,6 +35,8 @@ maxClaimsPerNodeParam: $maxClaimsPerNode - opcode: createAny templatePath: ../templates/deviceclass.yaml + - opcode: createAny + templatePath: ../templates/deviceclass-no-devices.yaml - opcode: createAny templatePath: ../templates/resourceclaim.yaml countParam: $initClaims diff --git a/test/integration/scheduler_perf/dra/templates/deviceclass-no-devices.yaml b/test/integration/scheduler_perf/dra/templates/deviceclass-no-devices.yaml new file mode 100644 index 00000000000..c822aaf9f68 --- /dev/null +++ b/test/integration/scheduler_perf/dra/templates/deviceclass-no-devices.yaml @@ -0,0 +1,8 @@ +apiVersion: resource.k8s.io/v1 +kind: DeviceClass +metadata: + name: no-devices-class +spec: + selectors: + - cel: + expression: device.driver == "no-such-driver.cdi.k8s.io" diff --git a/test/integration/scheduler_perf/dra/templates/resourceclaimtemplate-first-available.yaml b/test/integration/scheduler_perf/dra/templates/resourceclaimtemplate-first-available.yaml index 8c2dea4280f..60e0244a3b1 100644 --- a/test/integration/scheduler_perf/dra/templates/resourceclaimtemplate-first-available.yaml +++ b/test/integration/scheduler_perf/dra/templates/resourceclaimtemplate-first-available.yaml @@ -9,6 +9,6 @@ spec: - name: req-0 firstAvailable: - name: sub-0 - deviceClassName: no-such-class + deviceClassName: no-devices-class - name: sub-1 deviceClassName: test-class