del unused value
This commit is contained in:
parent
24dd9b1f04
commit
16c6b99fcd
@ -983,12 +983,12 @@ func TestDevicePreStartContainer(t *testing.T) {
|
||||
podsStub.updateActivePods(activePods)
|
||||
err = testManager.Allocate(pod2, &pod2.Spec.Containers[0])
|
||||
as.Nil(err)
|
||||
runContainerOpts, err = testManager.GetDeviceRunContainerOptions(pod2, &pod2.Spec.Containers[0])
|
||||
_, err = testManager.GetDeviceRunContainerOptions(pod2, &pod2.Spec.Containers[0])
|
||||
as.Nil(err)
|
||||
select {
|
||||
case <-time.After(time.Millisecond):
|
||||
t.Log("When pod resourceQuantity is 0, PreStartContainer RPC stub will be skipped")
|
||||
case initializedDevs = <-ch:
|
||||
case <-ch:
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user