Skip to content

Commit adb1a50

Browse files
committed
test: delete test_id_is_shown_in_alerts as unnecessary
This test expected alert for non-vshard replica to be shown, which is incorrect behavior and will be fixed in the subsequent commit. Needed for tarantool#493 NO_DOC=test
1 parent 51d1696 commit adb1a50

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

test/storage-luatest/persistent_names_test.lua

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -136,28 +136,3 @@ test_group.test_no_unreachable_replica_alert = function(g)
136136
asserts:assert_server_no_alerts(g.replica_2_a)
137137
persistent_names_restore(g, names)
138138
end
139-
140-
--
141-
-- vshard didn't show proper identificator of a replica, when names are
142-
-- not set and 'name_as_key' identification_mode is used.
143-
--
144-
test_group.test_id_is_shown_in_alerts = function(g)
145-
-- Connect any kind of replica, non-anonymous CDC or replica in shard.
146-
local box_cfg = {replication = {g.replica_1_a.net_box_uri}}
147-
local replica = server:new{alias = 'some-replica', box_cfg = box_cfg}
148-
replica:start()
149-
replica:wait_for_vclock_of(g.replica_1_a)
150-
local id = replica:instance_id()
151-
replica:stop()
152-
153-
g.replica_1_a:exec(function(id)
154-
ilt.assert_equals(ivshard.storage.info().alerts[1][2],
155-
("Replica %s isn't active"):format(id))
156-
end, {id})
157-
158-
replica:drop()
159-
g.replica_1_a:exec(function(id)
160-
box.space._cluster:delete(id)
161-
end, {id})
162-
asserts:assert_server_no_alerts(g.replica_1_a)
163-
end

0 commit comments

Comments
 (0)