8000 remove useless flush from test, bump wal flush default timeouts (#4845) · Sandychuang/arangodb@f1a2ace · GitHub
[go: up one dir, main page]

Skip to content

Commit f1a2ace

Browse files
jsteemannneunhoef
authored andcommitted
remove useless flush from test, bump wal flush default timeouts (arangodb#4845)
1 parent 747b9f0 commit f1a2ace

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

arangod/MMFiles/MMFilesRestWalHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void MMFilesRestWalHandler::flush() {
164164

165165
bool waitForSync = false;
166166
bool waitForCollector = false;
167-
double maxWaitTime = 180.0;
167+
double maxWaitTime = 300.0;
168168

169169
if (slice.isObject()) {
170170
// got a request body

arangod/RocksDBEngine/RocksDBRestWalHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void RocksDBRestWalHandler::flush() {
103103

104104
bool waitForSync = false;
105105
bool waitForCollector = false;
106-
double maxWaitTime = 60.0;
106+
double maxWaitTime = 300.0;
107107

108108
if (slice.isObject()) {
109109
// got a request body

js/common/tests/shell/shell-attributes.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ var jsunity = require("jsunity");
3333
var arangodb = require("@arangodb");
3434

3535
var db = arangodb.db;
36-
var wait = require("internal").wait;
37-
3836

3937
////////////////////////////////////////////////////////////////////////////////
4038
/// @brief test attributes
@@ -65,7 +63,6 @@ function AttributesSuite () {
6563
c.unload();
6664
c.drop();
6765
c = null;
68-
wait(0.0);
6966
},
7067

7168
////////////////////////////////////////////////////////////////////////////////
@@ -452,11 +449,6 @@ function AttributesSuite () {
452449
assertEqual("\u0000test\u0000test", result[0].def);
453450
assertEqual("abc\u0000", result[0]["123"]);
454451

455-
456-
// now shape documents
457-
require("internal").wal.flush(true, true);
458-
wait(3, false);
459-
460452
var d3 = c.document(d1._id);
461453

462454
assertEqual("foo\u0001bar\u0000baz", d3.abc);

0 commit comments

Comments
 (0)
0