Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
tests: Possible fix the permission error when the tests open the cookie file #14788
referenced this pull request
Nov 22, 2018
There's so much polling and waiting in the tests; from a determinism point of view I'd prefer to do this waiting once after starting a node, this is the only time where one'd expect the cookie to possibly not be there yet (maybe make it part of the current poll-after-run loop).
(If the same happens and it's trying to find the cookie after shutdown this is a problem with the test and it shouldn't simply wait 10 seconds. Or if the cookie goes missing while a node is supposed to be running this is a problem with the software that should be detected immediately.)