channable / channable/icepeak

Add integration tests for durable requests

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
135
Forks
4
Avg merge
21h 53m
Merged PRs (30d)
1

Description

Original issue: https://github.com/channable/icepeak/issues/25
Associated PR: https://github.com/channable/icepeak/pull/27

This feature has currently no integration tests. We should write some.

Idea from @fatho to test this:

> You could spam it with updates to some key /foo/a and then a last update to /foo/b, then ask for the value of /foo/b. If processing all the updates takes long enough, it should sometimes return the old, sometimes the new value for /foo/b without the flag. But with that flag, it should always return the updated value.

Alternatively, we could perhaps also add some artificial delays in the processing of requests with eventual consistency. This would make the tests more deterministic, but it would clutter the code a bit.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.