-
Notifications
You must be signed in to change notification settings - Fork 17
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
Enable test for persistent storage #303
Enable test for persistent storage #303
Conversation
d947a03
to
6305e52
Compare
Needs a rebase. |
We no longer run tests using minikube in a VM on the CI infrastructure but with GCP Signed-off-by: Kosy Anyanwu <kosy@kinvolk.io>
6305e52
to
4cea43c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test makes me wonder if we should validate that the pods are actually created. The creation of a pod can fail if the persistent volume claim can't be fulfilled. And I'm not sure if the tests actually tests it. What do you think?
@@ -255,6 +252,13 @@ func TestPersistentStorage(t *testing.T) { | |||
} | |||
})(persisted.Name) | |||
|
|||
// Delete the ephemeral resource created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also do the same for persistent one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, other tests do not use it so I skipped it instead. The whole cluster still gets deleted at the end of the test anyway.
@krnowak I am not sure right now, let me think about it for a bit. |
5ad23ae
to
4cea43c
Compare
@krnowak The test actually waits for the persisted pod to be in a running state here https://github.com/kinvolk/habitat-operator/blob/4cea43c6323f59495c811705d3070a5b6c423d5a/test/e2e/v1beta1/operator_test.go#L262 |
Oh, I overlooked that. In that case, LFAD. |
We no longer run tests using minikube in a VM on the CI infrastructure
but with GCP
Fixes #292
Depends on #302