HADOOP-18071. ABFS: Set driver global timeout for ITestAzureBlobFileSystemBasics (#3866)
Contributed by Sumangala Patki Change-Id: I05f0cd1f0bd277b90f06a71345c46bfde48d7e7e
This commit is contained in:
parent
fa30224e95
commit
a1319e2404
|
@ -27,7 +27,9 @@ import org.apache.hadoop.fs.contract.ContractTestUtils;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.junit.rules.Timeout;
|
||||||
|
|
||||||
|
import static org.apache.hadoop.fs.azurebfs.constants.TestConfigurationKeys.TEST_TIMEOUT;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
|
@ -41,6 +43,7 @@ public class ITestAzureBlobFileSystemBasics extends FileSystemContractBaseTest {
|
||||||
// If all contract tests are running in parallel, some root level tests in FileSystemContractBaseTest will fail
|
// If all contract tests are running in parallel, some root level tests in FileSystemContractBaseTest will fail
|
||||||
// due to the race condition. Hence for this contract test it should be tested in different container
|
// due to the race condition. Hence for this contract test it should be tested in different container
|
||||||
binding = new ABFSContractTestBinding(false);
|
binding = new ABFSContractTestBinding(false);
|
||||||
|
globalTimeout = Timeout.millis(TEST_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue