tests/test-blockjob: remove exit callback
commit977d26fdbeb35d8d2d0f203f9556d44a353e0dfd
authorJohn Snow <jsnow@redhat.com>
Thu, 6 Sep 2018 13:02:18 +0000 (6 09:02 -0400)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Sep 2018 13:31:15 +0000 (25 15:31 +0200)
treeeeec59a938326baa86a5d725b498ff6045e4bde1
parent0cc4643b01a0138543e886db8e3bf8a3f74ff8f9
tests/test-blockjob: remove exit callback

We remove the exit callback and the completed boolean along with it.
We can simulate it just fine by waiting for the job to defer to the
main loop, and then giving it one final kick to get the main loop
portion to run.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20180906130225.5118-10-jsnow@redhat.com
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/test-blockjob.c