commit | bb320db1990b38d439161673fac3cac06fd2576a | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Sep 14 08:59:18 2022 -0700 |
committer | Patrick Rohr <prohr@google.com> | Wed Sep 21 12:03:15 2022 -0700 |
tree | f8b1c63822986b8dbb9108acebfbc4ebcf5601c2 | |
parent | d337299e66df710657711b3eef437e1cdebc41f5 [diff] |
ethernet: ensure EthernetOutcomeReceiver receives only one result Sending multiple callbacks to one receiver is an easy trap to fall into. Asserting that the future has not completed in EthernetOutcomeReceiver should catch this mistake. Test: atest EthernetManagerTest Change-Id: Iaaace0e6604558bfc2fc1ae58c2744185e0b13ca