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:
parent
400713a58b
commit
e26e48ec87
6 changed files with 332 additions and 54 deletions
11
.travis.yml
11
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue