Commit Graph

13 Commits

Author SHA1 Message Date
Michael Henriksen
be89439734 functional test 2018-09-19 12:30:46 -04: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
Alexander Wels
8dca41a3e4 Return error if creating of clients fails in framework (#405)
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-09-05 09:14:27 -07:00
Alexander Wels
70db9fdf37 Fix find pod by prefix (#402)
- Implemented missing LabelSelector code.
- Fixed bug where err was not nil in inner function.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-09-05 00:04:39 -07:00
jeff vance
7ebc217d8e don't show test flags every time NewFramework invoked 2018-08-31 17:52:03 -07:00
Jeff Vance
a450005167 NewFrameworkOrDie (#399)
* add NewFrameworkOrDie

* Config{} defaults

* review comments

* init fmt fix
2018-08-31 16:11:14 -05:00
Alexander Wels
0e2731dc8e
Client creation in NewFramework (#401)
- Moved client creation into NewFramework instead of BeforeEach
  block.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-31 10:53:57 -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
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
Alexander Wels
d7cb81a801 Change embedded Config from ptr to regular embed (#373)
Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-24 13:54:01 -07:00
Alexander Wels
c5f4615494 Add skip namespace creation flag.
- Not all tests require a namespace to run, add the ability
  to skip creating the generated namespace.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-23 13:53:56 -04:00
Alexander Wels
ea15dd41f5 Add regular PVC creation e2e test.
- 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>
2018-08-22 14:10:49 -04:00
Jeff Vance
4519a615e9 create common framework object (#349)
* 1st pass at framework object

* add debug

* review comments, flag defaults

* minor log cleanup

* clear ns slice

* installed-ns -> cdi-namespace
2018-08-17 17:07:15 -05:00