lp://qastaging/~larsu/dbus-test-runner/fix-test-race
Created by
Lars Karlitski
and last modified
- Get this branch:
- bzr branch lp://qastaging/~larsu/dbus-test-runner/fix-test-race
Only
Lars Karlitski
can upload to this branch. If you are
Lars Karlitski
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Iain Lane: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 65 lines (+22/-3)2 files modifiedtests/Makefile.am (+2/-2)
tests/test-own-name.c (+20/-1)
Branch information
Recent revisions
- 96. By Lars Karlitski
-
test-param-
wait-system: fix race between tasks Calling RequestName with gdbus-tool to signal the tested binary that a
name is owned is racy: since the name is only owned very shortly, the
watch might not have been established before the name is already gone
again.Fix this by holding on to the name a bit longer with the test-own-name
helper (add a --system flag to that).A better fix would be to only start the second task when the watch has
been established. dbus-test-runner always starts tasks in parallel
though and changing this would further complicate its command line
interface. - 93. By Ted Gould
-
Add function to remove tasks from the service
Approved by: Charles Kerr, PS Jenkins bot
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/dbus-test-runner/15.10