lnd/autopilot
Olaoluwa Osuntokun 8034780ca4
autopilot: fix chanID collision test flake by instead using atomic counter
This commit fixes a prior occasional test flake caused by the collision
of the randomly selected 64-bit integers. In order to get around this,
we now instead have a atomic monotonically increasing counter for each
channel ID used within the tests.
2017-08-15 17:56:24 -07:00
..
agent.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
agent_test.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
graph.go autopilot: fix chanID collision test flake by instead using atomic counter 2017-08-15 17:56:24 -07:00
interface.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
log.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00
prefattach.go autopilot: fix linter error 2017-08-10 22:07:22 -07:00
prefattach_test.go autopilot: "Look ma no hands!", introducing autopilot mode 2017-08-10 21:14:55 -07:00