newHarness

abstract fun newHarness(scope: CoroutineScope, dispatcher: CoroutineContext, authorizer: RoomAuthorizer, random: Random): RoomFanoutIsolationConformanceSuite.FanoutHarness

Provide a fresh harness for one test.

Parameters

scope

the test's coroutine scope (typically backgroundScope) for the server's accept pump and per-connection read loops.

dispatcher

the test dispatcher, so server- and client-side seams share the virtual clock.

authorizer

the room-membership gate under test — RoomAuthorizer.AllowAll for the isolation/teardown tests, a rejecting policy for rejectedConnectionIsStructurallyExcluded.

random

seeded Random for the server's seam nonce generation.