Skip to content

Commit

Permalink
Wait a full resync period for labels to appear
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed Apr 3, 2018
1 parent 0a38cce commit 64d6f60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/fv/fv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var _ = Describe("kube-controllers FV tests", func() {
Expect(*info.Spec.DatastoreReady).To(BeTrue())
})

Context("nodes", func() {
Context("Node FV tests", func() {
It("should be removed in response to a k8s node delete", func() {
kn := &v1.Node{
ObjectMeta: metav1.ObjectMeta{
Expand Down Expand Up @@ -461,7 +461,7 @@ var _ = Describe("kube-controllers FV tests", func() {
})
})

Describe("NetworkPolicy FV tests", func() {
Context("NetworkPolicy FV tests", func() {
var (
policyName string
genPolicyName string
Expand Down Expand Up @@ -565,7 +565,7 @@ var _ = Describe("kube-controllers FV tests", func() {
})
})

Describe("NetworkPolicy egress FV tests", func() {
Context("NetworkPolicy egress FV tests", func() {
var (
policyName string
genPolicyName string
Expand Down Expand Up @@ -648,7 +648,7 @@ var _ = Describe("kube-controllers FV tests", func() {
})
})

Describe("Pod FV tests", func() {
Context("Pod FV tests", func() {
It("should not overwrite a workload endpoint's container ID", func() {
// Create a Pod
podName := "testpod"
Expand Down Expand Up @@ -729,7 +729,7 @@ var _ = Describe("kube-controllers FV tests", func() {
return fmt.Errorf("%v should equal 'label2'", w.Labels["foo"])
}
return nil
}, 3*time.Second).ShouldNot(HaveOccurred())
}, 10*time.Second).ShouldNot(HaveOccurred())
})

By("updating the workload endpoint's container ID", func() {
Expand Down

0 comments on commit 64d6f60

Please sign in to comment.