1
0
Fork 0

adjust a timeout in a test

This commit is contained in:
jsteemann 2017-05-12 15:21:41 +02:00
parent 086f6a26c5
commit 5ee360b4f1
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ describe ArangoDB do
it "creates a cursor that will expire" do
cmd = api
body = "{ \"query\" : \"FOR u IN #{@cn} LIMIT 5 RETURN u.n\", \"count\" : true, \"batchSize\" : 1, \"ttl\" : 4 }"
body = "{ \"query\" : \"FOR u IN #{@cn} LIMIT 5 RETURN u.n\", \"count\" : true, \"batchSize\" : 1, \"ttl\" : 10 }"
doc = ArangoDB.log_post("#{prefix}-create-ttl", cmd, :body => body)
doc.code.should eq(201)