OpenSlides/tests
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
..
example_data_generator fixed formatting after flake update 2020-05-13 16:16:03 +02:00
integration Adds reverse relations for motions and blocks 2020-06-02 14:44:56 +02:00
old
unit Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00
__init__.py reordered the tests 2012-11-24 15:00:17 +01:00
common_groups.py
conftest.py
count_queries.py
settings.py Adds reverse relations for motions and blocks 2020-06-02 14:44:56 +02:00
test_case.py Fixed incomplete autoupdates 2020-06-04 15:16:05 +02:00