Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rakesh-garimella committed Jan 30, 2025
1 parent 7df4637 commit 5f15afc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions test/e2e/logs_otlp_output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ var _ = Describe(suite.ID(), Label(suite.LabelLogs, suite.LabelExperimental), Or
assert.DeploymentReady(ctx, k8sClient, kitkyma.LogGatewayName)
})

It("Should not have a log agent daemonset", func() {
assert.DaemonSetNotDeployed(ctx, k8sClient, kitkyma.LogAgentName)
})

It("Should have 2 log gateway replicas", func() {
Eventually(func(g Gomega) int32 {
var deployment appsv1.Deployment
Expand Down
8 changes: 0 additions & 8 deletions test/testkit/assert/daemon_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,3 @@ func isDaemonSetReady(ctx context.Context, k8sClient client.Client, name types.N

return arePodsReady(ctx, k8sClient, listOptions)
}

func DaemonSetNotDeployed(ctx context.Context, k8sClient client.Client, name types.NamespacedName) {
Consistently(func(g Gomega) {
_, err := isDaemonSetReady(ctx, k8sClient, name)
g.Expect(err).NotTo(HaveOccurred())
g.Expect(err).To(ContainSubstring("failed to get daemonset:"))
}, periodic.ConsistentlyTimeout, periodic.DefaultInterval).Should(Succeed())
}

0 comments on commit 5f15afc

Please sign in to comment.