server: add inspect unit test

The inspect endpoint is used mainly in the CRI-O cAdvisor handler.
Let's make sure we don't break it by adding some trivial unit tests.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-09-12 12:17:44 +02:00
parent 400713a58b
commit e26e48ec87
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
6 changed files with 332 additions and 54 deletions

View file

@ -32,13 +32,24 @@ jobs:
- make .gitvalidation
- make gofmt
- make lint
- make testunit
- make docs
- make
go: 1.8.x
- stage: Build and Verify
script:
- make .gitvalidation
- make gofmt
- make lint
- make testunit
- make docs
- make
go: 1.9.x
- script:
- make .gitvalidation
- make gofmt
- make lint
- make testunit
- make docs
- make
go: tip