Make sure at least one interrupt is buffered before dropping.

This commit is contained in:
Prashanth Balasubramanian
2016-02-03 19:19:59 -08:00
parent b2600a65f5
commit f9b96d2c71
2 changed files with 15 additions and 2 deletions

View File

@@ -348,3 +348,8 @@ func TestNewMultipleSourcesEndpointsMultipleHandlersAddRemoveSetAndNotified(t *t
handler.ValidateEndpoints(t, endpoints)
handler2.ValidateEndpoints(t, endpoints)
}
// TODO: Add a unittest for interrupts getting processed in a timely manner.
// Currently this module has a circular dependency with config, and so it's
// named config_test, which means even test methods need to be public. This
// is refactoring that we can avoid by resolving the dependency.