HADOOP-18071. ABFS: Set driver global timeout for ITestAzureBlobFileSystemBasics (#3866)
Contributed by Sumangala Patki
This commit is contained in:
parent
365375412f
commit
c18b646020
@ -27,7 +27,9 @@
|
|||||||
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 ITestAzureBlobFileSystemBasics() throws Exception {
|
|||||||
// 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
Block a user