-
Couldn't load subscription status.
- Fork 50
chore: caching.feature integration tests #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: caching.feature integration tests #249
Conversation
|
Converted to draft until v0.5.5 of flagd-provider is released |
d850d0c to
04b94fd
Compare
|
Running into some inconsistent test failures here, the flakey results of tests are implying that the flagd provider is either exhibiting unexpected asynchronous behaviour or there are event stream connection issues.
Stepping through the code, my understanding is that a boolean evaluation stores the value in cache synchronously in the first call then when the second call is invoked the value is retrieved from the cache. Either my understanding about the synchronous nature is wrong or there is some kind of disconnection happening with the event stream that is causing the cache to be ignored (by design). Will debug further. |
|
This exposure of a blocking mechanism until the event stream is alive fixes the flakiness: open-feature/java-sdk-contrib#204 |
c976ef5 to
7ba569d
Compare
dc682be to
d7e185f
Compare
src/test/java/dev/openfeature/sdk/integration/StepDefinitions.java
Outdated
Show resolved
Hide resolved
571d7ef to
18ed236
Compare
18ed236 to
abe045b
Compare
|
@skyerus The caching tests here appear to be hanging. I've re-run them a few times. |
3352582 to
9d952dc
Compare
Signed-off-by: Skye Gill <gill.skye95@gmail.com>
Signed-off-by: Skye Gill <gill.skye95@gmail.com>
Signed-off-by: Skye Gill <gill.skye95@gmail.com>
Signed-off-by: Skye Gill <gill.skye95@gmail.com>
32a1933 to
946bca1
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
|
I'll look into what's going on here. |
|
@toddbaert Is this still something to look into? Or close? |
|
This PR appears to be stale. Please reopen if you would like to continue working on it. |








This PR
Implements caching test suite.
Related Issues
Fixes #243
Notes
Follow-up Tasks
How to test