mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 09:57:52 +00:00
Fix reboot test to use system namespace
This commit is contained in:
@@ -64,7 +64,7 @@ var _ = Describe("Restart", func() {
|
||||
SkipUnlessProviderIs("gce", "gke")
|
||||
skipped = false
|
||||
|
||||
ps = newPodStore(c, api.NamespaceDefault, labels.Everything(), fields.Everything())
|
||||
ps = newPodStore(c, api.NamespaceSystem, labels.Everything(), fields.Everything())
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
@@ -89,7 +89,7 @@ var _ = Describe("Restart", func() {
|
||||
for i, p := range pods {
|
||||
podNamesBefore[i] = p.ObjectMeta.Name
|
||||
}
|
||||
ns := api.NamespaceDefault
|
||||
ns := api.NamespaceSystem
|
||||
if !checkPodsRunningReady(c, ns, podNamesBefore, podReadyBeforeTimeout) {
|
||||
Failf("At least one pod wasn't running and ready at test start.")
|
||||
}
|
||||
|
Reference in New Issue
Block a user