You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if my problem is linked to this issue, but I'm running into issues when combining the new version of the gem with parallel_tests.
I have defined a field for a minimal app version. But in the test meant to check the endpoint meant to provide this information it does not seem to update the value (or at least not the cache).
# In the Setting modelfield:app_version,type: :string,default: '1.0'
# The spec that fails kind of randomely in CI using parallel_testsbeforedoSetting.app_version='3.14'endit'returns the latest version'doget:index# GET /app_versionexpect(JSON.parse(response.body).with_indifferent_access).toeq({app_version: '3.14'})end
And somehow (I don't know how to reproduce reliably) it fails saying the response actually returned { app_version: '1.0' }
Currently, cache expiration is hard coded to 1 week.
This could be too long, or too short, depending application.
The feature of automatically refresh cache when the value is updated is great, but it may not work for multi node application.
The text was updated successfully, but these errors were encountered: