mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #130941 from pohly/dra-e2e-manage-resourceslices-shared-counters
DRA E2E: fix "cluster must manage ResourceSlices" test
This commit is contained in:
commit
a01fdf97ab
@ -1776,7 +1776,9 @@ var _ = framework.SIGDescribe("node")("DRA", feature.DynamicResourceAllocation,
|
||||
}),
|
||||
),
|
||||
}),
|
||||
"Spec": gstruct.MatchAllFields(gstruct.Fields{
|
||||
// Ignoring some fields, like SharedCounters, because we don't run this test
|
||||
// for PRs (it's slow) and don't want CI breaks when fields get added or renamed.
|
||||
"Spec": gstruct.MatchFields(gstruct.IgnoreExtras, gstruct.Fields{
|
||||
"Driver": gomega.Equal(driver.Name),
|
||||
"NodeName": gomega.Equal(nodeName),
|
||||
"NodeSelector": gomega.BeNil(),
|
||||
|
Loading…
Reference in New Issue
Block a user