Module bt_test_harness::access

source ·

Modules§

Structs§

  • This wrapper class prevents test code from invoking WatchPeers, a hanging-get method which fails if invoked again before the prior invocation has returned. The AccessHarness itself continuously monitors WatchPeers, so if test code is also permitted to invoke WatchPeers, tests could fail (or worse, flake, since the multiple-calls issue is timing-dependent). Instead, test code should check peer state via AccessState.peers.