summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2023-02-24 01:32:34 +0100
committerCarlos Garnacho <carlosg@gnome.org>2023-02-24 02:17:28 +0100
commitbfabf68ce1ed81b82dc38a1102e80ff322afa0f5 (patch)
treebcaa1775bebe9a932face348a5678e3226e489f8 /src
parentc874630e0275cf7328e983c3aab5a3aa3451cbb2 (diff)
downloadtracker-bfabf68ce1ed81b82dc38a1102e80ff322afa0f5.tar.gz
tests: Modify TrackerBatch asynchronous execution test
This function was pushing things a bit too hard our guarantees, while that works on direct connections, remote connections may have order inverted by the asynchronicities involved in writing updates through pipes, so we may end up "heisenbugs" like: Tracker:ERROR:../tests/libtracker-sparql/tracker-batch-test.c:189:assert_photo: assertion failed (tracker_sparql_cursor_get_integer (cursor, 1) == horizontal_res): (234 == 123) The one guarantee we can do is: After execute_finish() returns, the batch was inserted. So adapt the existing test and add a new one to probe that.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions