Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fluentd] Fix CI tests file #440

Closed
dioguerra opened this issue Nov 15, 2023 · 5 comments · May be fixed by #362
Closed

[fluentd] Fix CI tests file #440

dioguerra opened this issue Nov 15, 2023 · 5 comments · May be fixed by #362

Comments

@dioguerra
Copy link
Collaborator

CI is trying to run test with file at templates/tests/test-connection.yaml but missing service.port value makes it fail.

We need to update the tests to take into account if fluentd ingest server is working/exposed and skip or do other tests otherwise.

This section here: https://github.com/fluent/helm-charts/blob/2ffb2ed7562618996d971709ba5132b8fb8745bc/charts/fluentd/templates/tests/test-connection.yaml#L13C20-L14C78

And here:

pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
@pecastro
Copy link
Contributor

@dioguerra Without knowing exactly what your CI runs I had to infer a few things.
The external case of testing the ingress is a bit more complicated as that will require adding a source to the existing config and do some expectation of which kind of protocol you'll have presented to the outside.

pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
Signed-off-by: Paulo E. Castro <[email protected]>
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
@pecastro
Copy link
Contributor

@dioguerra Without knowing exactly what your CI runs I had to infer a few things. The external case of testing the ingress is a bit more complicated as that will require adding a source to the existing config and do some expectation of which kind of protocol you'll have presented to the outside.

Duuhhh .... It was there in ct.yaml. (facepalm)

pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
It will time-out after 5 min if things are really broken in line with
the helm test default.

Signed-off-by: Paulo E. Castro <[email protected]>
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
pecastro added a commit to pecastro/fluent-helm-charts that referenced this issue Nov 16, 2023
It will time-out after 5 min if things are really broken in line with
the helm test default.

Signed-off-by: Paulo E. Castro <[email protected]>
@dioguerra
Copy link
Collaborator Author

Hey, thanks for your contribution. No worries, some people are worse (me) :)
Give me some time to test it out...

@pecastro
Copy link
Contributor

@dioguerra Ping ...

@dioguerra
Copy link
Collaborator Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants