OpenSlides / OpenSlides/openslides-backend

[relDB] Uncomment threading test

Open
#3,099 2 comments 0 reactions 1 assignee View on GitHub

@vkrasnovyd is already working on this.

Since May 21, 2026.

tests
Dominant language
Python
Stars
9
Forks
40
Avg merge
1d 22h
Merged PRs (30d)
19

Description

Test: ./tests/system/action/motion/test_create_sequential_number.py: test_create_sequential_numbers_race_condition.

Seems to run into an infinite loop even with consistent data. After force stop the next attempt to run any other test fails with the logs:

These lines are repeted many times:

SQL statement "INSERT INTO truncate_tables (tablename) VALUES (composed_name) ON CONFLICT (tablename) DO NOTHING"
PL/pgSQL function store_table_names() line 5 at SQL statement

After them these are printed once:

SQL statement "INSERT INTO os_notify_log_t (operation, fqid, xact_id, timestamp) VALUES (operation, fqid, pg_current_xact_id(), 'now')"
PL/pgSQL function log_modified_models() line 14 at SQL statement

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.