You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// simulate node reboot scenario by removing pods using CRI before kubelet is started. In addition to that,
934
934
// intentionally a scenario is created where after node reboot, application pods requesting devices appear before the device plugin pod
935
935
// exposing those devices as resource has restarted. The expected behavior is that the application pod fails at admission time.
936
-
framework.It("Keeps device plugin assignments across node reboots (no pod restart, no device plugin re-registration)", framework.WithFlaky(), func(ctx context.Context) {
936
+
framework.It("Does not keep device plugin assignments across node reboots if fails admission (no pod restart, no device plugin re-registration)", framework.WithFlaky(), func(ctx context.Context) {
gomega.Expect(found).To(gomega.BeTrueBecause("%s/%s/%s failed admission, should not have devices registered", pod1.Namespace, pod1.Name, pod1.Spec.Containers[0].Name))
0 commit comments