potiuk commented on PR #24588:
URL: https://github.com/apache/airflow/pull/24588#issuecomment-1367458636
> @potiuk pretty hard to grok these test failures. I found this though:
>
> ```
> stderr = b'W1206 16:45:48.861465 1052 loader.go:221]
> Config not found: /files/.kube/config\nW1206 16:45:48.879883 1052
lo..." at
> <.securityContexts.pod>: nil pointer evaluating interface {}.pod\n\nUse
--debug
> flag to render out invalid YAML\n'
> ```
>
> What is the best way to iterate on this? I think there shouldn't be too
much work left here.
Well. First of all there are conflicts - so it needs rebase and fixing them.
And if the test are Python helm unit tests, then this is nothing unusual - just
regular pytest tests that you can iterate on and the only difference vs.
standard airflow unit tests are requirements needed (and helm installed) .
Nothing special there.
And as usual (and described for all other parts of our test suite) Helm Unit
tests have a separate chapter in our TESTING.rst that describe how they work
and how you should run the tests locally
https://github.com/apache/airflow/blob/main/TESTING.rst#helm-unit-tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]