1
0
Fork 0

reduced sleep intervals

This commit is contained in:
Jan Steemann 2012-08-08 14:51:00 +02:00
parent e8d7ecc79a
commit 982781ec3e
9 changed files with 20 additions and 20 deletions

View File

@ -47,7 +47,7 @@
/// @brief compactify interval in microseconds
////////////////////////////////////////////////////////////////////////////////
static int const COMPACTOR_INTERVAL = 5 * 1000 * 1000;
static int const COMPACTOR_INTERVAL = 1 * 1000 * 1000;
////////////////////////////////////////////////////////////////////////////////
/// @}

View File

@ -78,14 +78,14 @@ function BitarrayIndexSuite() {
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -69,15 +69,15 @@ function CapConstraintSuite() {
collection.unload();
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
console.log("waiting for collection '%s' to unload.");
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -63,14 +63,14 @@ function CollectionDocumentSuiteErrorHandling () {
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -75,28 +75,28 @@ function CollectionEdgeSuiteErrorHandling () {
while (edge.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", en);
internal.wait(5);
internal.wait(1);
}
edge.drop();
while (edge.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", en);
internal.wait(5);
internal.wait(1);
}
vertex.unload();
while (vertex.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", vn);
internal.wait(5);
internal.wait(1);
}
vertex.drop();
while (vertex.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", vn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -70,14 +70,14 @@ function HashIndexSuite() {
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -69,14 +69,14 @@ function GeoIndexCreationSuite() {
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -69,14 +69,14 @@ function indexSuite() {
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},

View File

@ -70,14 +70,14 @@ function UniqueConstraintSuite() {
while (collection.status() != internal.ArangoCollection.STATUS_UNLOADED) {
console.log("waiting for collection '%s' to unload", cn);
internal.wait(5);
internal.wait(1);
}
collection.drop();
while (collection.status() != internal.ArangoCollection.STATUS_DELETED) {
console.log("waiting for collection '%s' to drop", cn);
internal.wait(5);
internal.wait(1);
}
},