Merge pull request #115329 from aojea/disable_probe

skip scale test for probes
This commit is contained in:
Kubernetes Prow Robot 2023-01-25 22:02:33 -08:00 committed by GitHub
commit 538c6c044f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,15 +60,17 @@ import (
// Ref: https://github.com/kubernetes/kubernetes/issues/89898#issuecomment-1383207322
func TestTCPPortExhaustion(t *testing.T) {
// This test creates a considereable number of connections in a short time
// and flakes on constrained environments, thus it is skipped by default.
// The test is left for manual verification or experimentation with new
// changes on the probes.
t.Skip("skipping TCP port exhaustion tests")
const (
numTestPods = 1
numContainers = 600
)
if testing.Short() {
t.Skip("skipping TCP port exhaustion in short mode")
}
tests := []struct {
name string
http bool // it can be tcp or http