mirror of https://gitee.com/bigwinds/arangodb
reduced sleep intervals
This commit is contained in:
parent
e8d7ecc79a
commit
982781ec3e
|
@ -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;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue