Skip to content

Instantly share code, notes, and snippets.

@frobware
Created September 5, 2017 10:09
Show Gist options
  • Save frobware/8254ff30d9f86f307080ed111975fecf to your computer and use it in GitHub Desktop.
Save frobware/8254ff30d9f86f307080ed111975fecf to your computer and use it in GitHub Desktop.
func TestBanger(t *testing.T) {
wg := &sync.WaitGroup{}
for i := 0; i < 100; i++ {
fmt.Println("INSTANCE", i)
wg.Add(1)
_, _, tearDown := StartTestServerOrDie(t, []string{"--admission-control", "Initializers"}, SharedInProcessEtcd(t))
tearDown()
wg.Done()
}
wg.Wait()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment