OpenSlides/tests/unit/utils
FinnStutzenstein c186a575f6
Fixed incomplete autoupdates
A conceptional issue in `get_data_since` leads to incomplete
autoupdates. The behaviour was long time in the code, but only with a
lot of autoupdates (high concurrency) and the autoupdate delay I noticed
the bug during testing. I'm sure, that this issue might have caused
incomplete autoupdates (which the user may experience as "lost
autoupdates") in previous productive instances. Instead of quering a
range (from_change_id to to_change_id) one now can only get data from a
change id up to the max change id in the element cache. The max change
id gets now returned by `get_data_since`.

I also added a get_all_data with the capability of returning the
max_change_id at this point of time.

As a usability-"fix" (more like a fix the result of a bug, not the bug
itself) a refresh button for a poll was added, that issues an autoupdate
for the poll and all options.
2020-06-04 15:16:05 +02:00
..
__init__.py New Test order. 2015-01-24 18:00:03 +01:00
cache_provider.py Locking service and locks the history build process (fixes #4039) 2019-12-03 12:14:49 +01:00
test_cache.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
test_utils.py Run black 2019-01-08 21:51:52 +01:00
test_validate.py adds more permissive html validation 2020-04-16 10:26:48 +02:00
test_views.py Run black 2019-01-08 21:51:52 +01:00