From 85df49039857d897b3ed48bf52370399cf0ff2dc Mon Sep 17 00:00:00 2001
From: Svyatoslav Feldsherov <feldsherov_sv@mail.ru>
Date: Tue, 13 Sep 2016 20:10:24 +0300
Subject: [PATCH] Fix replication/prune.test for 1.6

---
 test/replication/lua/fast_replica.lua | 2 +-
 test/replication/prune.result         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/replication/lua/fast_replica.lua b/test/replication/lua/fast_replica.lua
index 63ec51834f..eae49a51d1 100644
--- a/test/replication/lua/fast_replica.lua
+++ b/test/replication/lua/fast_replica.lua
@@ -20,7 +20,7 @@ function drop_all(inspector)
         if id ~= box.info.server.id then
             box.space._cluster:delete{id}
             inspector:cmd('stop server replica'..tostring(id - 1))
-            inspector:cmd('cleanup server replica'..tostring(id - 1))
+            inspector:cmd('delete server replica'..tostring(id - 1))
         end
     end
 end
diff --git a/test/replication/prune.result b/test/replication/prune.result
index 31e1a27058..af548a6cab 100644
--- a/test/replication/prune.result
+++ b/test/replication/prune.result
@@ -98,7 +98,7 @@ while box.space._cluster:len() ~= 2 do fiber.sleep(0.001) end
 -- Check server ids
 test_run:cmd('eval replica1 "return box.info.server.id"')
 ---
-- '{"result": [2]}'
+- [2]
 ...
 box.space._cluster:len() == 2
 ---
-- 
GitLab