@Override protected void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; fs = null; } }
@Override protected void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; fs = null; } }
@Override public void close() throws Exception { cleanup(); }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; } }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; } }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; fs = null; } }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; fs = null; } }
@After public void tearDown() throws Exception { testAccount.cleanup(); root = null; fs = null; testAccount = null; }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; } }
@After public void tearDown() throws Exception { testAccount.cleanup(); fs = null; backingStore = null; }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; } }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; } }
@After public void tearDown() throws Exception { if (testAccount != null) { testAccount.cleanup(); testAccount = null; fs = null; } }
@Test public void testNumberOfBlocks() throws Exception { Configuration conf = new Configuration(); conf.set(NativeAzureFileSystem.AZURE_BLOCK_SIZE_PROPERTY_NAME, "500"); AzureBlobStorageTestAccount testAccount = AzureBlobStorageTestAccount .createMock(conf); FileSystem fs = testAccount.getFileSystem(); Path testFile = createTestFile(fs, 1200); FileStatus stat = fs.getFileStatus(testFile); assertEquals(500, stat.getBlockSize()); testAccount.cleanup(); }