summaryrefslogtreecommitdiff
path: root/src/udiskslinuxfsinfo.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-12-02 10:41:48 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-12-02 10:44:06 +0100
commitf64106284d2ac0d522058ab6aee1b796bde8b0d2 (patch)
treedb47371b518411296d0df7dd803b866a49351745 /src/udiskslinuxfsinfo.c
parentf99ca608e0d9911fae49f2fdeddb00fa78a5a382 (diff)
downloadudisks-f64106284d2ac0d522058ab6aee1b796bde8b0d2.tar.gz
test_polkitd.py: Fix waiting for mock polkit to start
In the common case when we got a DBusException we previously skipped the time.sleep() and thus were just racing through the retry loop without actually giving the child process any time to start up. Also raise a proper exception on timeout instead of os.abort(). The latter did not flush stderr fast enough to actually see the failure message, and as this happens in the parent pid we actually can raise an exception meaningfully. LP: #1585382
Diffstat (limited to 'src/udiskslinuxfsinfo.c')
0 files changed, 0 insertions, 0 deletions