Skip to content

Commit

Permalink
Vendor test dependencies (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Mar 13, 2018
1 parent d793a31 commit 90fa859
Show file tree
Hide file tree
Showing 70 changed files with 25,547 additions and 29 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -30,3 +30,4 @@ hack/configs/.env
test/e2e/report.xml
apiserver.local.config/
.markdownlint.json
coverage.txt
22 changes: 0 additions & 22 deletions apis/voyager/v1beta1/annotations_test.go
Expand Up @@ -7,28 +7,6 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1"
)

func TestNodeSelector(t *testing.T) {
dataTable := map[string]map[string]string{
"key=value": {
"key": "value",
},

"key1=value1,key2=value2": {
"key1": "value1",
"key2": "value2",
},

"name=value,foo=bar=foo,": {
"name": "value",
"foo": "bar=foo",
},
}

for k, v := range dataTable {
assert.Equal(t, v, ParseDaemonNodeSelector(k))
}
}

func TestGetTimeOuts(t *testing.T) {
ing := &Ingress{}
timeouts := ing.Timeouts()
Expand Down
2 changes: 1 addition & 1 deletion glide-slow
Expand Up @@ -8,6 +8,6 @@
pushd $GOPATH/src/github.com/appscode/voyager

glide up -v
glide vc --only-code --no-tests
glide vc --use-lock-file --only-code --no-tests

popd
8 changes: 4 additions & 4 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Expand Up @@ -77,4 +77,4 @@ import:
version: release-6.0
testImport:
- package: github.com/stretchr/testify
version: v1.2.0
version: v1.2.1
2 changes: 1 addition & 1 deletion hack/coverage.sh
Expand Up @@ -8,7 +8,7 @@ pushd $REPO_ROOT

echo "" > coverage.txt

for d in $(go list ./... | grep -v vendor); do
for d in $(go list ./... | grep -v -e vendor -e test); do
go test -v -race -coverprofile=profile.out -covermode=atomic "$d"
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
Expand Down
20 changes: 20 additions & 0 deletions vendor/cloud.google.com/go/cloud.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions vendor/github.com/JamesClonk/vultr/vultr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 90fa859

Please sign in to comment.