Skip to content

Commit 4581e18

Browse files
sumangala-patkiHarshitGupta11
authored andcommitted
HADOOP-18071. ABFS: Set driver global timeout for ITestAzureBlobFileSystemBasics (apache#3866)
Contributed by Sumangala Patki
1 parent 46f425b commit 4581e18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/contract/ITestAzureBlobFileSystemBasics.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
import org.junit.Before;
2828
import org.junit.Ignore;
2929
import org.junit.Test;
30+
import org.junit.rules.Timeout;
3031

32+
import static org.apache.hadoop.fs.azurebfs.constants.TestConfigurationKeys.TEST_TIMEOUT;
3133
import static org.junit.Assert.assertEquals;
3234
import static org.junit.Assert.assertTrue;
3335

@@ -41,6 +43,7 @@ public ITestAzureBlobFileSystemBasics() throws Exception {
4143
// If all contract tests are running in parallel, some root level tests in FileSystemContractBaseTest will fail
4244
// due to the race condition. Hence for this contract test it should be tested in different container
4345
binding = new ABFSContractTestBinding(false);
46+
globalTimeout = Timeout.millis(TEST_TIMEOUT);
4447
}
4548

4649

0 commit comments

Comments
 (0)