Skip to content

Commit

Permalink
Revert "Add e2e test monitoring current container resource usage"
Browse files Browse the repository at this point in the history
  • Loading branch information
satnam6502 committed Aug 8, 2015
1 parent 991775e commit 1f7ea4f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 137 deletions.
1 change: 0 additions & 1 deletion hack/jenkins/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ GCE_PARALLEL_SKIP_TESTS=(
"Nodes\sNetwork"
"Nodes\sResize"
"MaxPods"
"ResourceUsage"
"SchedulerPredicates"
"Services.*restarting"
"Shell.*services"
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/kubelet_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ type containerResourceUsage struct {
CPUInterval time.Duration
}

func (r *containerResourceUsage) isStrictlyGreaterThan(rhs *containerResourceUsage) bool {
return r.CPUUsageInCores > rhs.CPUUsageInCores && r.MemoryUsageInBytes > rhs.MemoryUsageInBytes && r.MemoryWorkingSetInBytes > rhs.MemoryWorkingSetInBytes
}

// getOneTimeResourceUsageOnNode queries the node's /stats/container endpoint
// and returns the resource usage of targetContainers for the past
// cpuInterval.
Expand Down
132 changes: 0 additions & 132 deletions test/e2e/monitor_resources.go

This file was deleted.

0 comments on commit 1f7ea4f

Please sign in to comment.