Skip to content

Commit 394f848

Browse files
authored
CHAOSPLT-455: Skip flaky CI tests (#915)
* CHAOSPLT-455: Skip flaky CI tests * Skip two more flakey tests
1 parent 846a80f commit 394f848

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

controllers/clientset_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ var _ = Describe("Disruption Client", func() {
146146
},
147147
Entry("when there are no disruptions in the cluster", 0, NodeTimeout(k8sAPIServerResponseTimeout)),
148148
Entry("when there is a single disruption in the cluster", 1, NodeTimeout(k8sAPIServerResponseTimeout)),
149-
Entry("when there are three disruptions in the cluster", 3, NodeTimeout(k8sAPIServerResponseTimeout)),
149+
//Entry("when there are three disruptions in the cluster", 3, NodeTimeout(k8sAPIServerResponseTimeout)), // TODO Skip("See CHAOSPLT-455: flaky test")
150150
)
151151
})
152152

@@ -261,6 +261,7 @@ var _ = Describe("Disruption Client", func() {
261261
Eventually(k8sClient.Delete).WithContext(ctx).WithArguments(&disruption).Within(k8sAPIServerResponseTimeout).ProbeEvery(k8sAPIPotentialChangesEvery).Should(WithTransform(client.IgnoreNotFound, Succeed()), "Failed to delete Disruption")
262262
}),
263263
Entry("when a disruption is updated", watch.Modified, "ds-watch-modify", NodeTimeout(k8sAPIServerResponseTimeout), func(ctx SpecContext, disruptionName string) {
264+
Skip("See CHAOSPLT-455: flaky test")
264265
_ = createDisruption(ctx, namespace, disruptionName)
265266

266267
// Fetch the most up to date disruption

controllers/disruption_controller_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ var _ = Describe("Disruption Controller", func() {
145145
})
146146

147147
It("should target the node", func(ctx SpecContext) {
148+
Skip("See CHAOSPLT-455: flaky test")
148149
By("Ensuring that the inject pod has been created")
149150
ExpectChaosPods(ctx, disruption, 1)
150151
})
@@ -165,6 +166,7 @@ var _ = Describe("Disruption Controller", func() {
165166
})
166167

167168
It("should target all the selected pods", func(ctx SpecContext) {
169+
Skip("See CHAOSPLT-455: flaky test. Data Race error")
168170
Concurrently{
169171
func(ctx SpecContext) {
170172
By("Ensuring that the chaos pods have been created")
@@ -514,6 +516,7 @@ var _ = Describe("Disruption Controller", func() {
514516

515517
Context("don't reinject a static node disruption", func() {
516518
BeforeEach(func() {
519+
Skip("See CHAOSPLT-455: flaky test")
517520
disruption.Spec = chaosv1beta1.DisruptionSpec{
518521
DryRun: true,
519522
Duration: "4m",

0 commit comments

Comments
 (0)