File tree Expand file tree Collapse file tree
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636import org .apache .hadoop .fs .FileSystem ;
3737import org .apache .hadoop .fs .Path ;
3838import org .apache .hadoop .hbase .HBaseTestingUtility ;
39- import org .apache .hadoop .hbase .NamespaceDescriptor ;
4039import org .apache .hadoop .hbase .MiniHBaseCluster ;
40+ import org .apache .hadoop .hbase .NamespaceDescriptor ;
4141import org .apache .hadoop .hbase .TableName ;
4242import org .apache .hadoop .hbase .TableNotEnabledException ;
4343import org .apache .hadoop .hbase .Waiter .Predicate ;
Original file line number Diff line number Diff line change @@ -247,8 +247,9 @@ public void testNoBulkLoadsWithNoWrites() throws Exception {
247247 fail ("Expected the bulk load call to fail!" );
248248 } catch (IOException e ) {
249249 // Pass
250- assertTrue ("Expected the bulk load call to fail because of a space quota violation, but got "
251- + e , e .getCause () instanceof SpaceLimitingException );
250+ assertTrue (
251+ "Expected the bulk load call to fail because of a space quota violation, but got " + e ,
252+ e .getCause () instanceof SpaceLimitingException );
252253 LOG .trace ("Caught expected exception" , e );
253254 }
254255 }
@@ -306,8 +307,9 @@ public void testAtomicBulkLoadUnderQuota() throws Exception {
306307 fail ("Expected the bulk load call to fail!" );
307308 } catch (IOException e ) {
308309 // Pass
309- assertTrue ("Expected the bulk load call to fail because of a space quota violation, but got "
310- + e , e .getCause () instanceof SpaceLimitingException );
310+ assertTrue (
311+ "Expected the bulk load call to fail because of a space quota violation, but got " + e ,
312+ e .getCause () instanceof SpaceLimitingException );
311313 LOG .trace ("Caught expected exception" , e );
312314 }
313315 // Verify that we have no data in the table because neither file should have been
You can’t perform that action at this time.
0 commit comments