anmolanmol1234 commented on code in PR #7817:
URL: https://github.com/apache/hadoop/pull/7817#discussion_r2314111794
##########
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/services/ITestAbfsClient.java:
##########
@@ -881,8 +880,10 @@ private void testIsNonEmptyDirectoryInternal(String
firstCT,
*/
@Test
public void testKeepAliveCacheInitializationWithApacheHttpClient() throws
Exception {
- Assume.assumeTrue(APACHE_HTTP_CLIENT == httpOperationType);
+ assumeThat(APACHE_HTTP_CLIENT).isEqualTo(httpOperationType);
final AzureBlobFileSystem fs = this.getFileSystem();
+ assumeThat(APACHE_HTTP_CLIENT).isEqualTo(
Review Comment:
Move assume statement above
##########
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/services/ITestAbfsClient.java:
##########
@@ -898,8 +899,11 @@ public void
testKeepAliveCacheInitializationWithApacheHttpClient() throws Except
*/
@Test
public void testStaleConnectionBehavior() throws Exception {
- Assume.assumeTrue(APACHE_HTTP_CLIENT == httpOperationType);
- Configuration conf = this.getFileSystem().getConf();
+ assumeThat(APACHE_HTTP_CLIENT).isEqualTo(httpOperationType);
+ final AzureBlobFileSystem fs = this.getFileSystem();
Review Comment:
same as above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]