KandraRuntime

A fully wired Kandra instance backed by a FakeKandraSession.

Provides access to typed repositories without requiring a live ScyllaDB connection. Obtain one via KandraTestUtils.inMemory and call close after each test to cancel any pending eventual-write coroutines.

Properties

Link copied to clipboard
val session: CqlSession

Functions

Link copied to clipboard
open override fun close()

Cancels all pending eventual-write coroutines. Call in @AfterEach / use try-with-resources.

Link copied to clipboard

close, then KandraTestUtils.reset — for an @AfterEach that wants both, since schema registration is process-global and close deliberately leaves it alone.

Link copied to clipboard
Link copied to clipboard