Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Commit

Permalink
Bumped supported Kubernetes version in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
piosz committed Nov 24, 2016
1 parent 21efd93 commit c226881
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TAG = v1.2.0
PREFIX = gcr.io/google_containers
FLAGS =

SUPPORTED_KUBE_VERSIONS = "1.3.6"
SUPPORTED_KUBE_VERSIONS = "1.4.6"
TEST_NAMESPACE = heapster-e2e-tests

deps:
Expand Down
2 changes: 1 addition & 1 deletion integration/.jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export GOBIN="$GOPATH/bin"
export PATH="$GOBIN:$PATH"

# Kubernetes version(s) to run the integration tests against.
kube_version="1.3.6"
kube_version="1.4.6"

if ! git diff --name-only origin/master | grep -c -E "*.go|*.sh|.*yaml|Makefile" &> /dev/null; then
echo "This PR does not touch files that require integration testing. Skipping integration tests!"
Expand Down
9 changes: 5 additions & 4 deletions integration/heapster_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,11 @@ func getSchema(fm kubeFramework, svc *kube_api.Service) (*api_v1.TimeseriesSchem
}

var expectedSystemContainers = map[string]struct{}{
"machine": {},
"kubelet": {},
"kube-proxy": {},
"system": {},
"machine": {},
"kubelet": {},
"kube-proxy": {},
// TODO(piosz): Uncomment once https://github.com/kubernetes/kubernetes/issues/37453 is fixed
// "system": {},
"docker-daemon": {},
}

Expand Down
2 changes: 1 addition & 1 deletion metrics/sinks/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestAllExportsInTime(t *testing.T) {
manager.ExportData(&batch)

elapsed := time.Now().Sub(now)
if elapsed > 2*timeout+2*time.Second {
if elapsed > 3*timeout+2*time.Second {
t.Fatalf("3xExportData took too long: %s", elapsed)
}

Expand Down

0 comments on commit c226881

Please sign in to comment.