HBASE-18102 (addendum fixing shell tests) - Purge close_region command that allows by-pass of Master

Change-Id: I753f20d50954969ee473f6a016d5c5f9ff4fd631
This commit is contained in:
Apekshit Sharma 2017-08-02 18:05:27 -07:00
parent 71151eb0e9
commit 504a1f14e3
1 changed files with 9 additions and 6 deletions

View File

@ -334,12 +334,15 @@ module Hbase
shutdown
end
define_test "unassign should allow encoded & non-encoded region names" do
define_test "unassign should allow encoded region names" do
region = command(:locate_region, @test_name, '')
regionName = region.getRegionInfo().getRegionNameAsString()
encodedRegionName = region.getRegionInfo().getEncodedName()
command(:unassign, regionName, true)
end
define_test "unassign should allow non-encoded region names" do
region = command(:locate_region, @test_name, '')
encodedRegionName = region.getRegionInfo().getEncodedName()
command(:unassign, encodedRegionName, true)
end
end