diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-21 11:52:53 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-21 12:01:51 +0100 |
commit | 8869adf1e811d894088dbb0f371edc23299005c8 (patch) | |
tree | 6c0229f90c81f03f6e989cdd57e20b114a437d41 /ruby/tests | |
parent | 62b322872543c2ec069ac4fb0103ab758f587cef (diff) | |
download | libguestfs-8869adf1e811d894088dbb0f371edc23299005c8.tar.gz libguestfs-8869adf1e811d894088dbb0f371edc23299005c8.tar.xz libguestfs-8869adf1e811d894088dbb0f371edc23299005c8.zip |
Remove guestfs_wait_ready (turn it into a no-op).
This commit changes guestfs_launch so that it both launches
the appliance and waits until it is ready (ie. the daemon communicates
back to us).
Since we removed the pretence that we could implement a low-level
asynchronous API, the need to call launch() followed by wait_ready()
has looked a bit silly.
Now guestfs_wait_ready() is basically a no-op. It is left in the
API for backwards compatibility. Any calls to guestfs_wait_ready()
can be removed from client code.
Diffstat (limited to 'ruby/tests')
-rw-r--r-- | ruby/tests/tc_050_lvcreate.rb | 1 | ||||
-rw-r--r-- | ruby/tests/tc_rhbz507346.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ruby/tests/tc_050_lvcreate.rb b/ruby/tests/tc_050_lvcreate.rb index ea87e398..37ae94d1 100644 --- a/ruby/tests/tc_050_lvcreate.rb +++ b/ruby/tests/tc_050_lvcreate.rb @@ -30,7 +30,6 @@ class TestLoad < Test::Unit::TestCase g.add_drive("test.img") g.launch() - g.wait_ready() g.pvcreate("/dev/sda") g.vgcreate("VG", ["/dev/sda"]); diff --git a/ruby/tests/tc_rhbz507346.rb b/ruby/tests/tc_rhbz507346.rb index 3bd4bb60..8c5b34f2 100644 --- a/ruby/tests/tc_rhbz507346.rb +++ b/ruby/tests/tc_rhbz507346.rb @@ -30,7 +30,6 @@ class TestLoad < Test::Unit::TestCase g.add_drive("test.img") g.launch() - g.wait_ready() exception = assert_raise TypeError do g.command(1) |