Unify DeleteAllEtcdKeys in integration tests.

This commit is contained in:
Wojciech Tyczynski
2016-06-23 13:43:07 +02:00
parent 37edcc8242
commit 08f17fef27
15 changed files with 89 additions and 35 deletions

View File

@@ -34,10 +34,12 @@ import (
)
func TestDynamicClient(t *testing.T) {
// TODO: Limit the test to a single non-default namespace and clean this up at the end.
framework.DeleteAllEtcdKeys()
_, s := framework.RunAMaster(t)
defer s.Close()
framework.DeleteAllEtcdKeys()
gv := testapi.Default.GroupVersion()
config := &restclient.Config{
Host: s.URL,