mirror of https://gitee.com/bigwinds/arangodb
Fixed cluster crud tests. They did by accident not run into the untested state thus far.
This commit is contained in:
parent
c46a818232
commit
be6b8908fa
|
@ -329,7 +329,9 @@ function ClusterCrudReplaceSuite () {
|
||||||
fail();
|
fail();
|
||||||
}
|
}
|
||||||
catch (err2) {
|
catch (err2) {
|
||||||
assertEqual(ERRORS.ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES.code, err2.errorNum);
|
if (err2.errorNum !== ERRORS.ERROR_ARANGO_DOCUMENT_NOT_FOUND.code) {
|
||||||
|
assertEqual(ERRORS.ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES.code, err2.errorNum);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -619,7 +621,9 @@ function ClusterCrudUpdateSuite () {
|
||||||
fail();
|
fail();
|
||||||
}
|
}
|
||||||
catch (err2) {
|
catch (err2) {
|
||||||
assertEqual(ERRORS.ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES.code, err2.errorNum);
|
if (err2.errorNum !== ERRORS.ERROR_ARANGO_DOCUMENT_NOT_FOUND.code) {
|
||||||
|
assertEqual(ERRORS.ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES.code, err2.errorNum);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue