HADOOP-18071. ABFS: Set driver global timeout for ITestAzureBlobFileSystemBasics (#3866)

Contributed by Sumangala Patki

Change-Id: I05f0cd1f0bd277b90f06a71345c46bfde48d7e7e
This commit is contained in:
Sumangala Patki 2022-02-24 01:08:10 +05:30 committed by Steve Loughran
parent fa30224e95
commit a1319e2404
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 3 additions and 0 deletions

View File

@ -27,7 +27,9 @@ import org.apache.hadoop.fs.contract.ContractTestUtils;
import org.junit.Before;
import org.junit.Ignore;
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.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
// due to the race condition. Hence for this contract test it should be tested in different container
binding = new ABFSContractTestBinding(false);
globalTimeout = Timeout.millis(TEST_TIMEOUT);
}