Function migrate_state_test::locking [−][src]
pub async fn locking(create_state_lock: &dyn Fn() -> Box<dyn StateLock>)
Expand description
Test correctness of locking mechanism that StateLock
provides.
Beware that this doesn’t currently ensure that migrate_state::StateGuard::unlock()
is called if the test fails. This should be fixed in future updates.