Add test -short for non-integration tests

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-05-24 16:05:24 -07:00
parent 01c4c86414
commit 8cd882c570
5 changed files with 47 additions and 40 deletions

View File

@@ -215,7 +215,7 @@ func (t *Task) Wait(ctx context.Context) (uint32, error) {
func (t *Task) Delete(ctx context.Context) (uint32, error) {
cerr := t.io.Close()
r, err := t.client.tasks().Delete(ctx, &execution.DeleteRequest{
t.containerID,
ContainerID: t.containerID,
})
if err != nil {
return 255, err