Remove cleanup calls for test controller/worker (#3245)
A previous commit added a call to t.Cleanup in the NewTestController/NewTestWorker commands; as a result these statements are no longer needed.
This commit is contained in:
1 parent
d49b7ae629
commit
769a7c9e1c
12 files changed
+1
-28
No files matched your search
@@ -41,7 +41,6 @@ func TestCrud(t *testing.T) {
|
||||
tcConfig.Eventing = &eventConfig.EventerConfig
|
||||
|
||||
tc := controller.NewTestController(t, &controller.TestControllerOpts{Config: tcConfig})
|
||||
t.Cleanup(tc.Shutdown)
|
||||
|
||||
client := tc.Client()
|
||||
token := tc.Token()
|
||||
@@ -192,7 +191,6 @@ func TestList(t *testing.T) {
|
||||
require.NoError(err)
|
||||
|
||||
tc := controller.NewTestController(t, &controller.TestControllerOpts{Config: tcConfig})
|
||||
t.Cleanup(tc.Shutdown)
|
||||
|
||||
client := tc.Client()
|
||||
token := tc.Token()
|
||||
|
||||
Reference in new issue
Block a user