Skip to content

[test] Avoid network retries in AzureFileSystemPluginTest - #4640

Merged
polyzos merged 1 commit into
apache:mainfrom
dstolis:fix-azure-test-retries
Oct 14, 2026
Merged

polyzos merged 1 commit into
apache:mainfrom
dstolis:fix-azure-test-retries

Conversation

@dstolis

@dstolis dstolis commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #4637

AzureFileSystemPluginTest#testCreateWithoutAccountKey took ~637 s on a non-resolvable host because
ABFS retried with exponential backoff. Timings before and after are in the issue.

Brief change log

  • Set fs.azure.account.hns.enabled=false, as AbfsFileSystemBehaviorITCase and
    AbfsFileSystemDelegationTokenITCase already do, and fs.azure.io.retry.max.retries=0 as a
    fail-fast safety net.
  • Use account.dfs.core.windows.invalid (reserved TLD, RFC 2606) so the host can never resolve or be
    registered.
  • testCreateWithAccountKey now uses a base64-encoded dummy key, so initialization completes.
  • Both create() tests now assert that create() returns an AzureFileSystem instead of swallowing
    exceptions.

Tests

  • AzureFileSystemPluginTest#testCreateWithAccountKey
  • AzureFileSystemPluginTest#testCreateWithoutAccountKey

API and Format

No.

Documentation

No.


Generated-by: Claude Code (Claude Opus 5.5)

@dstolis

dstolis commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author
main (#4259) main (#4624) PR #4640
AzureFileSystemPluginTest 638.6 s 639.6 s 0.643 s
Azure FS module, test phase 10:57 min 10:58 min 23.8 s
Java 11 / core job total 50:22 min 50:19 min 39:44 min

@polyzos
polyzos merged commit 2d6d114 into apache:main Oct 14, 2026
9 checks passed
@dstolis
dstolis deleted the fix-azure-test-retries branch October 14, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[test] AzureFileSystemPluginTest spends ~10 min retrying DNS lookups

2 participants