Merge pull request #2369 from dmcgowan/update-grpc

Update grpc to 1.12
This commit is contained in:
Michael Crosby
2018-05-30 11:07:10 -04:00
committed by GitHub
71 changed files with 11243 additions and 5006 deletions

View File

@@ -21,15 +21,11 @@ import (
"context"
"flag"
"fmt"
"io/ioutil"
golog "log"
"os"
"os/exec"
"testing"
"time"
"google.golang.org/grpc/grpclog"
"github.com/containerd/containerd/images"
"github.com/containerd/containerd/log"
"github.com/containerd/containerd/namespaces"
@@ -50,9 +46,6 @@ var (
)
func init() {
// Discard grpc logs so that they don't mess with our stdio
grpclog.SetLogger(golog.New(ioutil.Discard, "", golog.LstdFlags))
flag.StringVar(&address, "address", defaultAddress, "The address to the containerd socket for use in the tests")
flag.BoolVar(&noDaemon, "no-daemon", false, "Do not start a dedicated daemon for the tests")
flag.BoolVar(&noCriu, "no-criu", false, "Do not run the checkpoint tests")