Commit Graph

5 Commits

Author SHA1 Message Date
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
Scott Creeley
accb530d20 renaming and moving functional tests and setting up unit tests template framework 2018-05-29 17:37:11 -04:00
Jon Cope
558f2cb77f Additional build tags to test files 2018-04-17 16:39:44 -05:00
Jon Cope
447177a506 Add functional testing for supported compression and archiving (excl
qcow2)

Fixed 'unexpected EOF' when reading test output (use io.Copy instead of ioutil.ReadAll), Test that input and output byte slices contain the same data

Extracted slice vars from loop

Fixed CreateTarXz/Gz funcs with correct calls (currently unimplemented)

Moved datastream tests to separate directory in prep for container work

Distinguish tests with build tags (unit v functional)
Add make recipe to functional test compilation, image build, and run

Improved Makefile output

Converted gz in-mem test to file read test, paremeterized importer Dockerfile to enable use as
test env, added build-args to Makefile for binary specific options.

Added xz test, condenced BeforeEach into It block (looping over BeforeEach causes unwanted behaviours)

Abstracted compression to single function, removed FileExt type (back to
strings), added tar test

Support nested format, add extention to convert function map
create base file with name provided in test table, no constant
added qcow2 conversion (broken: decompressed file is bigger than
original)

Extracted some setup to helper, add .tar.xz test
2018-04-06 18:03:17 -05:00
Shiyang Wang
123b7ac620 add importer test 2018-03-13 14:20:17 +08:00