File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ public void testTwoCreate() throws Exception {
127127 fs .mkdirs (testFilePath .getParent ());
128128
129129 try (FSDataOutputStream out = fs .create (testFilePath )) {
130- LambdaTestUtils .intercept (IOException .class , isHNSEnabled ? ERR_PARALLEL_ACCESS_DETECTED :
131- ERR_NO_LEASE_ID_SPECIFIED , () -> {
130+ LambdaTestUtils .intercept (IOException .class , isHNSEnabled ? ERR_PARALLEL_ACCESS_DETECTED
131+ : ERR_NO_LEASE_ID_SPECIFIED , () -> {
132132 try (FSDataOutputStream out2 = fs .create (testFilePath )) {
133133 }
134134 return "Expected second create on infinite lease dir to fail" ;
@@ -281,8 +281,8 @@ public void testFileSystemClose() throws Exception {
281281 fs .close ();
282282 Assert .assertTrue ("Store leases were not freed" , fs .getAbfsStore ().areLeasesFreed ());
283283
284- LambdaTestUtils .intercept (IOException .class , isHNSEnabled ? ERR_LEASE_NOT_PRESENT :
285- ERR_LEASE_EXPIRED , () -> {
284+ LambdaTestUtils .intercept (IOException .class , isHNSEnabled ? ERR_LEASE_NOT_PRESENT
285+ : ERR_LEASE_EXPIRED , () -> {
286286 out .close ();
287287 return "Expected exception on close after closed FS but got " + out ;
288288 });
You can’t perform that action at this time.
0 commit comments