mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 10:19:35 +00:00
Merge pull request #133140 from KobayashiD27/fix-integ-dra-testFilterTimeout
DRA Updated to not directly change the global variable `claim`
This commit is contained in:
@@ -589,8 +589,9 @@ func testFilterTimeout(tCtx ktesting.TContext) {
|
||||
createSlice(tCtx, slice.Obj())
|
||||
otherSlice := st.MakeResourceSlice("worker-1", driverName).Devices(deviceNames...)
|
||||
createdOtherSlice := createSlice(tCtx, otherSlice.Obj())
|
||||
claim := claim.DeepCopy()
|
||||
claim.Spec.Devices.Requests[0].Count = int64(devicesPerSlice + 1) // Impossible to allocate.
|
||||
claim := createClaim(tCtx, namespace, "", class, claim)
|
||||
claim = createClaim(tCtx, namespace, "", class, claim)
|
||||
|
||||
tCtx.Run("disabled", func(tCtx ktesting.TContext) {
|
||||
pod := createPod(tCtx, namespace, "", claim, podWithClaimName)
|
||||
|
||||
Reference in New Issue
Block a user