From 0f88ade5680c656e94925ddaa300495c34352264 Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Sat, 13 Feb 2016 21:36:51 +0100 Subject: [PATCH] raised sleep --- UnitTests/HttpInterface/api-replication-spec.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/UnitTests/HttpInterface/api-replication-spec.rb b/UnitTests/HttpInterface/api-replication-spec.rb index 7de711ce26..8c064cf66e 100644 --- a/UnitTests/HttpInterface/api-replication-spec.rb +++ b/UnitTests/HttpInterface/api-replication-spec.rb @@ -347,7 +347,7 @@ describe ArangoDB do it "fetches a create collection action from the follow log" do ArangoDB.drop_collection("UnitTestsReplication") - sleep 1 + sleep 5 cmd = api + "/logger-state" doc = ArangoDB.log_get("#{prefix}-follow-create-collection", cmd, :body => "") @@ -357,7 +357,8 @@ describe ArangoDB do cid = ArangoDB.create_collection("UnitTestsReplication") - sleep 1 + sleep 5 + cmd = api + "/logger-follow?from=" + fromTick doc = ArangoDB.log_get("#{prefix}-follow-create-collection", cmd, :body => "", :format => :plain) doc.code.should eq(200) @@ -408,7 +409,7 @@ describe ArangoDB do it "fetches some collection operations from the follow log" do ArangoDB.drop_collection("UnitTestsReplication") - sleep 1 + sleep 5 cmd = api + "/logger-state" doc = ArangoDB.log_get("#{prefix}-follow-collection", cmd, :body => "") @@ -435,7 +436,7 @@ describe ArangoDB do doc = ArangoDB.log_delete("#{prefix}-follow-collection", cmd) doc.code.should eq(200) - sleep 1 + sleep 5 cmd = api + "/logger-follow?from=" + fromTick doc = ArangoDB.log_get("#{prefix}-follow-create-collection", cmd, :body => "", :format => :plain)