You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
static USE_MOCKS is gross and should be removed #4481
During the implementation of #4332, I added a static variable that allows selecting between using mocks and not using mocks in tests. This kludge was needed because of feature unification causing the tests in sled-agent to fail when run with all other tests at the top-level. Further details can be found in this comment: #4332 (comment)
We want to eventually remove this disgrace, and the way forward is most likely to refactor the ServiceManager such that it can be tested without mocks in a manner similar to how we restructured StorageManager in #4332
Activity
Fully remove automock, USE_MOCKS (#7908)
Fully remove automock, USE_MOCKS (#7908)