apache / apache/pekko-persistence-r2dbc

Update `RuntimePluginConfigSpec` plugin test to use `DurableState`

Open
#203 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
21
Forks
14
Avg merge
13h 51m
Merged PRs (30d)
15

Description

Once https://github.com/apache/pekko-persistence-r2dbc/pull/194 and https://github.com/apache/pekko/issues/1798 are done the `RuntimePluginConfigSpec` should be updated to use `DurableState` instead of testing its plugin directly here:
https://github.com/apache/pekko-persistence-r2dbc/blob/16729ecddb0ef45303d9bdc6b0ba2230fc0417ff/core/src/test/scala/org/apache/pekko/persistence/r2dbc/journal/RuntimePluginConfigSpec.scala#L304-L319

Contributor guide

Open the contributing guide

Research direction

Start with core/src/test/scala/org/apache/pekko/persistence/r2dbc/journal/RuntimePluginConfigSpec.scala around lines 304-319, after pull request 194 and Pekko issue 1798 are complete. Replace the direct plugin test with coverage using DurableState, then run the RuntimePluginConfigSpec to verify the updated test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
databases
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.