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

kkujawa-sumo
Copy link
Contributor

@kkujawa-sumo kkujawa-sumo 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

@kkujawa-sumo kkujawa-sumo requested a review from a team as a code owner April 2, 2021 10:23
@kkujawa-sumo kkujawa-sumo 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
@kkujawa-sumo kkujawa-sumo merged commit 6f3b3c3 into main Apr 6, 2021
@kkujawa-sumo kkujawa-sumo 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.

None yet

3 participants