Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Wels
f40c16b25b Randomize cdi namespace in tests.
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-05-14 10:55:42 -04:00
Alexander Wels
05b6a21736 Fix issues with size header in cloning something reading beginning of data.
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-04-26 19:47:03 -04:00
tavni
e6665945bc Adding support to clone disk image from one Block PV to another
Signed-off-by: tavni <tavni@redhat.com>
2019-04-15 15:33:52 +03:00
tavni
d4c7b0be54 Adding support to import disk image into Block PV
Signed-off-by: tavni <tavni@redhat.com>
2019-03-28 11:43:56 +02:00
Nelly Credi
0c6e1ff6ae updated to [attr1][attr2][attr3] struct 2019-01-10 17:09:51 +02:00
Nelly Credi
0149a300c7 Add test attributes
Added rfe id, test id, criticality etc

Based on issue
https://github.com/kubevirt/containerized-data-importer/issues/359
2019-01-10 17:05:57 +02:00
Alexander Wels
0f0df6f2e1 Added logging to cloning e2e tests to figure out why it sometimes fails.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-11-27 15:10:21 -05:00
Alexander Wels
995ebf39e7 Increase e2e test timeouts.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-11-02 11:31:45 -04:00
Alexander Wels
40072b631a Report cloning progress in logs and prometheus.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-11-01 11:09:03 -04:00
tavni
05778eecff CDI e2e negative tests
Signed-off-by: tavni <tavni@redhat.com>
2018-10-17 11:04:41 +03:00
j-griffith
537bcd02b0 Update unit and functional tests 2018-10-12 22:07:43 -06:00
Alexander Wels
2c327088cc Clean up some code and spelling issues.
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-09-27 14:09:07 -04:00
tavni
ce22c48834 CDI controller code dedupe
Signed-off-by: tavni <tavni@redhat.com>
2018-09-17 19:44:09 +03:00
John Griffith
c455577cca Fix lint errors on common package (#449)
This change just updates the common package to pass golint.  Of course
that has some reaching implications into other packages with renaming of
constants.

I've intentionally kept this patch set to the bare minimum for the lint
test, I do think that we should put some effort into our use of
constants (especially those in common.go) in the future.

Ideally we'd declare constants where they're used, and we wouldn't
export them if they don't need to be.  There are some in here that
are only used in one or two packages, and that can be cleaned up pretty
easily however it's likely that there might be plans to use them
elsewhere in the future.
2018-09-10 09:14:09 -04:00
Jeff Vance
a450005167 NewFrameworkOrDie (#399)
* add NewFrameworkOrDie

* Config{} defaults

* review comments

* init fmt fix
2018-08-31 16:11:14 -05:00
David Vossel
d84ba95e75 Clone functional tests for DataVolume (#384)
* Make generic function for populating and verifying pvc data

Signed-off-by: David Vossel <davidvossel@gmail.com>

* Add DataVolume PVC source functional tests

Signed-off-by: David Vossel <davidvossel@gmail.com>

* Make DataVolume PVC variable consistent with other sources

Signed-off-by: David Vossel <davidvossel@gmail.com>
2018-08-31 08:39:50 -04:00
Alexander Wels
01cfa85dd1 Configure STDCI
- Added oVirt STDCI configuration files.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-30 15:50:36 -04:00
Adam Litke
78751fad46 tests: Fix PR #386 (#388)
Mismatched function names: PodNode should be PodGetNode.

Signed-off-by: Adam Litke <alitke@redhat.com>
2018-08-29 13:39:52 -07:00
Adam Litke
facfe372b6 Fix clone tests (#386)
* 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>
2018-08-29 15:59:28 -04:00
Alexander Wels
ac638c8107 Add cloner e2e tests (#372)
- Positive test clone from namespace into same namespace.
- Positive test clone from namespace into other namespace.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-28 14:12:07 -07:00