tests/stage-view: Tweak test to make less racy
It'd happen that the test runner would get CPU starved, and not see the frame-clock changed notification before the timeline stopped. Decrease the risk for this by moving the initial position of the actor having its position transitioned to be closer to the view edge. This means the frame clock will be changed earlier, increasing the chance of the timeline not stopping before the relayout happens. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1555
This commit is contained in:
parent
f57c39f511
commit
4cc4701851
@ -774,7 +774,7 @@ meta_test_actor_stage_views_timeline (void)
|
||||
|
||||
actor = clutter_actor_new ();
|
||||
clutter_actor_set_size (actor, 100, 100);
|
||||
clutter_actor_set_position (actor, 100, 100);
|
||||
clutter_actor_set_position (actor, 800, 100);
|
||||
clutter_actor_add_child (stage, actor);
|
||||
|
||||
clutter_actor_show (stage);
|
||||
|
Loading…
Reference in New Issue
Block a user