This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new a1319e2  HADOOP-18071. ABFS: Set driver global timeout for 
ITestAzureBlobFileSystemBasics (#3866)
a1319e2 is described below

commit a1319e2404c61f5bd65beddda26e361a9b039282
Author: Sumangala Patki <[email protected]>
AuthorDate: Thu Feb 24 01:08:10 2022 +0530

    HADOOP-18071. ABFS: Set driver global timeout for 
ITestAzureBlobFileSystemBasics (#3866)
    
    Contributed by Sumangala Patki
    
    Change-Id: I05f0cd1f0bd277b90f06a71345c46bfde48d7e7e
---
 .../hadoop/fs/azurebfs/contract/ITestAzureBlobFileSystemBasics.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/contract/ITestAzureBlobFileSystemBasics.java
 
b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/contract/ITestAzureBlobFileSystemBasics.java
index a9fa2d7..e99d089 100644
--- 
a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/contract/ITestAzureBlobFileSystemBasics.java
+++ 
b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/contract/ITestAzureBlobFileSystemBasics.java
@@ -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);
   }
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to