Fix test driver storage deadlock

This commit is contained in:
Daniel P. Berrange 2008-12-07 20:21:46 +00:00
parent a2b2ada85c
commit 5abce0805b
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Sun Dec 7 20:20:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/test.c: Remove bogus refresh call causing deadlock
Sun Dec 7 14:03:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/test.c: Fix return value in testStoragePoolBuild

View File

@ -2323,9 +2323,6 @@ no_memory:
return -1;
}
static int
testStoragePoolRefresh(virStoragePoolPtr obj,
unsigned int flags ATTRIBUTE_UNUSED);
static int
testStoragePoolStart(virStoragePoolPtr pool,
@ -2350,8 +2347,6 @@ testStoragePoolStart(virStoragePoolPtr pool,
goto cleanup;
}
if (testStoragePoolRefresh(pool, 0) == 0)
goto cleanup;
privpool->active = 1;
ret = 0;