8000 allow for long supervision job runtimes by kvahed · Pull Request #14741 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
Prev Previous commit
Next Next commit
integration tests
  • Loading branch information
kvahed committed Sep 8, 2021
commit eb8cddf82a59b0cfa560d7b85a12ce9010751b92
6 changes: 2 additions & 4 deletions tests/js/server/resilience/move/moving-shards-cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,6 @@ function MovingShardsSuite ({useData}) {
if (useData) {
// insert some documents
let nd = (otherNumDocuments === 0) ? numDocuments : otherNumDocuments;
print(coll.name());
coll.insert(_.range(0, nd).map(v => ({ value: v, x: "someString" + v })));
}

Expand All @@ -653,7 +652,6 @@ function MovingShardsSuite ({useData}) {
let nd = (otherNumDocuments === 0) ? numDocuments : otherNumDocuments;
const numDocs = useData ? nd : 0;
for(const collection of c) {
print(collection.name());
assertEqual(numDocs, collection.count());
const values = db._query(
'FOR doc IN @@col SORT doc.value RETURN doc.value',
Expand Down Expand Up @@ -1104,7 +1102,7 @@ function MovingShardsSuite ({useData}) {
assertEqual(job.abort);
assertTrue(waitForSupervision());
checkCollectionContents();
},
},

////////////////////////////////////////////////////////////////////////////////
/// @brief kill todo moveShard job
Expand Down Expand Up @@ -1141,7 +1139,7 @@ function MovingShardsSuite ({useData}) {
assertTrue(waitForSupervision());
checkCollectionContents(otherNumDocuments);
}
},
},

};
}
Expand Down
0