Skip to content

Commit

Permalink
check pods before deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
briandealwis committed Jun 22, 2020
1 parent a6864b3 commit e6bf12c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions integration/debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,19 @@ func TestDebug(t *testing.T) {
}
}

for _, depName := range test.deployments {
deploy := client.GetDeployment(depName)

annotations := deploy.Spec.Template.GetAnnotations()
verifyDebugAnnotations(annotations)
}
for _, podName := range test.pods {
pod := client.GetPod(podName)

annotations := pod.Annotations
verifyDebugAnnotations(annotations)
}

for _, depName := range test.deployments {
deploy := client.GetDeployment(depName)

annotations := deploy.Spec.Template.GetAnnotations()
verifyDebugAnnotations(annotations)
}
})
}
}
Expand Down

0 comments on commit e6bf12c

Please sign in to comment.