Skip to content

test: test_visibility_transition is flaky (names from the previous case) #2479

Closed

Description

@rdoupe

test_visibility_transition fails now and then in CI (seen on the PR CI of #2475, Rust Tier 2 Linux, tests ON; it passed on rerun and on master).

[ RUN      ] show_transition_three_items
Attempted to insert context with duplicate name "a"! Name has been changed to "a 2"
...
[  ERROR   ] --- "c 2 Show Transition" != "c Show Transition"
test_visibility_transition.c:301: error: Failure!

The sources from the previous case are still alive when show_transition_three_items creates its own with the same names, so libobs renames them and the transition name check fails. Source destruction is asynchronous, so whether the old ones are gone yet depends on timing.

The test was added by #758. Fix: make each case independent of the previous case's teardown (unique names per case, or wait until the old sources are destroyed), without changing what the test checks.

Activity

  1. rdoupe commented on Oct 26, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #2479 (our test from #758).

  2. added
    ready
    on Oct 26, 2026
  3. added a commit that references this issue on Oct 26, 2026
    98e14ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions