github.com/tilt-dev/tilt@v0.36.0/integration/too_many_deployments_test.go (about) 1 //go:build integration 2 // +build integration 3 4 package integration 5 6 import ( 7 "testing" 8 9 "github.com/stretchr/testify/assert" 10 ) 11 12 func TestTooManyDeployments(t *testing.T) { 13 f := newK8sFixture(t, "too_many_deployments") 14 15 f.runCommandSilently("kubectl", "apply", "-f", "namespace.yaml") 16 f.runCommandSilently("kubectl", "apply", "-f", "too_many_deployments/deployments.yaml") 17 18 // Use tilt to verify that busybox1 ONLY is up 19 f.TiltCI("busybox1") 20 21 // Run tilt ci again when we know services are running. 22 f.TiltCI("busybox1") 23 24 // Make sure we're not getting throttled by the kubernetes client. 25 assert.NotContains(t, f.logs.String(), "Throttling request") 26 }