HBASE-10106: Remove some unnecessary code from TestOpenTableInCoprocessor (Benoit Sigoure)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550566 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c4ef948ecb
commit
a4c3be377f
|
@ -69,8 +69,6 @@ public class TestOpenTableInCoprocessor {
|
||||||
public void prePut(final ObserverContext<RegionCoprocessorEnvironment> e, final Put put,
|
public void prePut(final ObserverContext<RegionCoprocessorEnvironment> e, final Put put,
|
||||||
final WALEdit edit, final Durability durability) throws IOException {
|
final WALEdit edit, final Durability durability) throws IOException {
|
||||||
HTableInterface table = e.getEnvironment().getTable(otherTable);
|
HTableInterface table = e.getEnvironment().getTable(otherTable);
|
||||||
Put p = new Put(new byte[] { 'a' });
|
|
||||||
p.add(family, null, new byte[] { 'a' });
|
|
||||||
table.put(put);
|
table.put(put);
|
||||||
table.flushCommits();
|
table.flushCommits();
|
||||||
completed[0] = true;
|
completed[0] = true;
|
||||||
|
|
Loading…
Reference in New Issue