This finishes up the last of the golint implementation, with the
addition of the cmd, tests and tools directories we are now running
golint tests on all of the current go source files in the project.
This change adds all the little fixes (mostly just commenting and
naming) and also enables the new diretories in the lint test that we
gate on.
- Updated glide dependencies.
- Fixed issue where if the qemu process was killed before all the output
was read it would not return everything to the calling function.
- Added PrintPodLog method to print out the pod log.
Signed-off-by: Alexander Wels <awels@redhat.com>
* test: fix pvc annotation check
The clone controller uses a slightly different annotation on PVCs. The
test was using the form used by the import controller. Quick fix.
Signed-off-by: Adam Litke <alitke@redhat.com>
* tests: Pods must be polled to determine their node
When checking the node on which a pod is scheduled we must use an
Eventually assertion and poll. Otherwise, tests could flake when pod
scheduling is delayed.
Signed-off-by: Adam Litke <alitke@redhat.com>
- Positive test clone from namespace into same namespace.
- Positive test clone from namespace into other namespace.
Signed-off-by: Alexander Wels <awels@redhat.com>
- Added e2e test to see if regular PVC doesn't get populated.
- Added PVC utilities, for both framework and stand alone
- Added exec utility functions to execute commands against running
Pods.
Signed-off-by: Alexander Wels <awels@redhat.com>