diff --git a/arangod/Agency/Supervision.cpp b/arangod/Agency/Supervision.cpp index 77ebbe2148..308530e08d 100644 --- a/arangod/Agency/Supervision.cpp +++ b/arangod/Agency/Supervision.cpp @@ -628,7 +628,7 @@ void Supervision::enforceReplication() { try { replicationFactor = col("replicationFactor").slice().getUInt(); } catch (std::exception const& e) { - LOG_TOPIC(WARN, Logger::AGENCY) + LOG_TOPIC(DEBUG, Logger::AGENCY) << "no replicationFactor entry in " << col.toJson(); continue; } diff --git a/js/client/tests/agency/agency-test.js b/js/client/tests/agency/agency-test.js index e036a3d820..f63e8b212a 100644 --- a/js/client/tests/agency/agency-test.js +++ b/js/client/tests/agency/agency-test.js @@ -639,33 +639,28 @@ function agencyTestSuite () { assertEqual(readAndCheck([["/"]]), [{"\\":{"a":{"^&%^&$^&%$":{"b\\\n":{"b":{"c":4}}}}}}]); }, - + testKeysBeginningWithSameString: function() { var res = accessAgency("write",[[{"/bumms":{"op":"set","new":"fallera"}, "/bummsfallera": {"op":"set","new":"lalalala"}}]]); assertEqual(res.statusCode, 200); assertEqual(readAndCheck([["/bumms", "/bummsfallera"]]), [{bumms:"fallera", bummsfallera: "lalalala"}]); - } - - /* - // Test babies - */ - - /* + }, + testHiddenAgencyWrite: function() { var res = accessAgency("write",[[{".agency": {"op":"set","new":"fallera"}}]]); - assertEqual(res.statusCode, 400); + assertEqual(res.statusCode, 200); }, - + testHiddenAgencyWriteSlash: function() { var res = accessAgency("write",[[{"/.agency": {"op":"set","new":"fallera"}}]]); - assertEqual(res.statusCode, 400); + assertEqual(res.statusCode, 200); }, testHiddenAgencyWriteDeep: function() { var res = accessAgency("write",[[{"/.agency/hans": {"op":"set","new":"fallera"}}]]); - assertEqual(res.statusCode, 400); + assertEqual(res.statusCode, 200); } - */ + }; } diff --git a/js/server/tests/resilience/moving-shards-cluster.js b/js/server/tests/resilience/moving-shards-cluster.js index 5338f46ce2..3747abc5ed 100644 --- a/js/server/tests/resilience/moving-shards-cluster.js +++ b/js/server/tests/resilience/moving-shards-cluster.js @@ -71,7 +71,7 @@ function MovingShardsSuite () { var shards = Object.keys(cinfo.shards); var replFactor = cinfo.shards[shards[0]].length; var count = 0; - while (++count <= 120) { + while (++count <= 180) { var ccinfo = shards.map( s => global.ArangoClusterInfo.getCollectionInfoCurrent( database, c[i].name(), s)