Skip to content
Permalink
Browse files
HBASE-26524 Addendum fix TestConstraints (#3912)
  • Loading branch information
taklwu committed Dec 2, 2021
1 parent 19b0b2e commit 6d28bc6dd9c240dab3291376cb9b40cfa0bf4a40
Showing 1 changed file with 6 additions and 1 deletion.
@@ -88,7 +88,12 @@ public static TableDescriptorBuilder enable(TableDescriptorBuilder builder) thro
* added.
*/
public static TableDescriptorBuilder disable(TableDescriptorBuilder builder) throws IOException {
return builder.removeCoprocessor(ConstraintProcessor.class.getName());
try {
return builder.removeCoprocessor(ConstraintProcessor.class.getName());
} catch (IllegalArgumentException e) {
LOG.warn("ConstraintProcessor was unset.", e);
return builder;
}
}

/**

0 comments on commit 6d28bc6

Please sign in to comment.