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

Add tests for update of resources modified by operator #123

Merged
merged 5 commits into from
Apr 6, 2021

Conversation

kasia-kujawa
Copy link
Contributor

@kasia-kujawa kasia-kujawa commented Apr 2, 2021

Testes with following script:

#/bin/bash

make deploy
make deploy-examples
make deploy-example-with-crd
sleep 5
make test-examples
make deploy-examples-update
make test-examples-update

with kubectl wait following error occured:

Error from server (NotFound): pods "pod-with-annotations-crd" not found
Makefile:108: recipe for target 'test-examples' failed
make: *** [test-examples] Error 1

but Pod was created in a second

@kasia-kujawa kasia-kujawa requested a review from a team as a code owner April 2, 2021 10:23
@kasia-kujawa kasia-kujawa force-pushed the kk-ci-test-update branch 2 times, most recently from 67de448 to 4b0c230 Compare April 2, 2021 15:47
kubectl wait is able to wait only for resource available on API

tests: add waiting for all Pods in Running state before running checks
@kasia-kujawa kasia-kujawa merged commit 6f3b3c3 into main Apr 6, 2021
@kasia-kujawa kasia-kujawa deleted the kk-ci-test-update branch April 6, 2021 11:33
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 this pull request may close these issues.

3 participants