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
Hm, we removed one of those units recently. I'd probably say we avoid creating a Daemon instance in any of our unit tests at all, and move towards just unit testing "free" functions that aren't methods on Daemon. I just did that in #762
Activity
cgwalters commentedon May 16, 2019
Hm, we removed one of those units recently. I'd probably say we avoid creating a
Daemoninstance in any of our unit tests at all, and move towards just unit testing "free" functions that aren't methods onDaemon. I just did that in #762Interested in doing a PR for this?
cgwalters commentedon May 16, 2019
The other alternative would be to
os.Getuid()and skip/bail if it's not0in various places inDaemonbut eh...ugly.cgwalters commentedon May 22, 2019
Yeah I think this was fixed by #762 - please reopen if that wasn't the case.
stbenjam commentedon May 22, 2019
Looks like it's fixed, thanks!