The GitHub Actions job "Nightly Builds" on pekko.git/main has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
0729960f28ac3ad28a567b3247182315cf94b81d / He-Pin(kerr) <[email protected]>
test: await eventual deletion in RemoveInternalClusterShardingDataSpec (#3013)

Motivation:
RemoveInternalClusterShardingDataSpec "must remove all events and snapshots"
is intermittently flaky (issue #1228), failing with "true did not equal
false" at the post-removal hasSnapshots/hasEvents assertions. Even though
RemoveOnePersistenceId has replied with a successful Removals result, a
fresh read of the snapshot/event store may not observe the deletion
immediately, so the assertion can still see stale data.

Modification:
Wrap the post-removal hasSnapshots/hasEvents assertions in awaitAssert so
they retry until the deletion becomes visible, mirroring the awaitAssert
already used for the pre-removal snapshot-visibility check.

Result:
The test tolerates the eventual visibility of deletions; it still passes
locally.

References:
Fixes #1228

Report URL: https://github.com/apache/pekko/actions/runs/26654451869

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to