mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
skip scale test for probes
Change-Id: I215e2cf9211348aadcc0d262da01953d6523794a
This commit is contained in:
parent
d29e3bd7aa
commit
3fb4edb257
@ -60,15 +60,17 @@ import (
|
|||||||
// Ref: https://github.com/kubernetes/kubernetes/issues/89898#issuecomment-1383207322
|
// Ref: https://github.com/kubernetes/kubernetes/issues/89898#issuecomment-1383207322
|
||||||
|
|
||||||
func TestTCPPortExhaustion(t *testing.T) {
|
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 (
|
const (
|
||||||
numTestPods = 1
|
numTestPods = 1
|
||||||
numContainers = 600
|
numContainers = 600
|
||||||
)
|
)
|
||||||
|
|
||||||
if testing.Short() {
|
|
||||||
t.Skip("skipping TCP port exhaustion in short mode")
|
|
||||||
}
|
|
||||||
|
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
http bool // it can be tcp or http
|
http bool // it can be tcp or http
|
||||||
|
Loading…
Reference in New Issue
Block a user