Skip to content

Commit

Permalink
Disable 2 flaky functional tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jed Lejosne <[email protected]>
  • Loading branch information
jean-edouard committed May 14, 2020
1 parent 8ba7e69 commit 7baddb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/infra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ var _ = Describe("Infrastructure", func() {
tests.BeforeTestCleanup()
})

It("[test_id:4099]should be rotated when a new CA is created", func() {
// Flaky, randomly fails with timeout
PIt("[test_id:4099] [flaky] should be rotated when a new CA is created", func() {
By("checking that the config-map gets the new CA bundle attached")
Eventually(func() int {
_, crts := tests.GetBundleFromConfigMap(components.KubeVirtCASecretName)
Expand Down Expand Up @@ -135,7 +136,8 @@ var _ = Describe("Infrastructure", func() {
defer expecter.Close()
})

It("[test_id:4100]should be valid during the whole rotation process", func() {
// Flaky, randomly fails with timeout
PIt("[test_id:4100] [flaky] should be valid during the whole rotation process", func() {
oldAPICert := tests.EnsurePodsCertIsSynced(fmt.Sprintf("%s=%s", v1.AppLabel, "virt-api"), tests.KubeVirtInstallNamespace, "8443")
oldHandlerCert := tests.EnsurePodsCertIsSynced(fmt.Sprintf("%s=%s", v1.AppLabel, "virt-handler"), tests.KubeVirtInstallNamespace, "8186")
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit 7baddb6

Please sign in to comment.