(t *testing.T, key string)
| 61 | } |
| 62 | |
| 63 | func cleanupTaskPluginControllerRuntime(t *testing.T, key string) { |
| 64 | t.Helper() |
| 65 | t.Cleanup(func() { |
| 66 | jsplugin.DefaultRegistry.Unregister(key) |
| 67 | taskPluginSyncState.Lock() |
| 68 | delete(taskPluginSyncState.hashes, key) |
| 69 | delete(taskPluginSyncState.errors, key) |
| 70 | taskPluginSyncState.Unlock() |
| 71 | }) |
| 72 | } |
| 73 | |
| 74 | func TestDeleteThirdPartyPluginReportsAssociatedChannelsAndInFlightTasks(t *testing.T) { |
| 75 | setupTaskPluginControllerTest(t) |
no test coverage detected