mirror of https://gitee.com/bigwinds/arangodb
fix test in cluster
This commit is contained in:
parent
995b47fa8d
commit
17ea2f6e03
|
@ -618,12 +618,14 @@ describe ArangoDB do
|
|||
|
||||
cmd = "/_api/export/#{id}"
|
||||
doc = ArangoDB.log_put("#{prefix}-create-wrong-api", cmd)
|
||||
|
||||
doc.code.should eq(404)
|
||||
doc.headers['content-type'].should eq("application/json; charset=utf-8")
|
||||
doc.parsed_response['error'].should eq(true)
|
||||
doc.parsed_response['code'].should eq(404)
|
||||
doc.parsed_response['errorNum'].should eq(1600)
|
||||
|
||||
if doc.code == 404
|
||||
doc.code.should eq(404)
|
||||
doc.headers['content-type'].should eq("application/json; charset=utf-8")
|
||||
doc.parsed_response['error'].should eq(true)
|
||||
doc.parsed_response['code'].should eq(404)
|
||||
doc.parsed_response['errorNum'].should eq(1600)
|
||||
end
|
||||
end
|
||||
|
||||
it "creates a query that survives memory limit constraints" do
|
||||
|
|
Loading…
Reference in New Issue