Skip to content

fix: Remove overly tight polling timeout from AbstractiveSummarizationSuite#2493

Merged
BrendanWalsh merged 1 commit into
masterfrom
fix-abstractive-summarization-timeout
Feb 9, 2026
Merged

fix: Remove overly tight polling timeout from AbstractiveSummarizationSuite#2493
BrendanWalsh merged 1 commit into
masterfrom
fix-abstractive-summarization-timeout

Conversation

@BrendanWalsh

Copy link
Copy Markdown
Collaborator

Summary

Remove explicit pollingDelay and maxPollingRetries overrides from AbstractiveSummarizationSuite to use the class defaults, consistent with all other LRO test suites.

Problem

AbstractiveSummarizationSuite explicitly set pollingDelay=5000ms and maxPollingRetries=30, giving only 2.5 minutes for the Azure AI Language Abstractive Summarization API to respond. This is insufficient when the API is under load, causing flaky TimeoutException failures like build #20260208.1.

All other LRO test suites (ExtractiveSummarizationSuite, HealthcareSuite, SentimentAnalysisLROSuite, etc.) use the class defaults (pollingDelay=1000ms, maxPollingRetries=1000), providing a much more generous ~16 minute timeout.

Fix

Remove the 3 pairs of .setPollingDelay(5 * 1000) / .setMaxPollingRetries(30) calls so AbstractiveSummarizationSuite uses the same defaults as every other LRO test suite.

Validation

All 5 tests in AbstractiveSummarizationSuite pass locally:

Tests: succeeded 5, failed 0, canceled 0, ignored 0, pending 0
All tests passed.

…nSuite

AbstractiveSummarizationSuite explicitly set pollingDelay=5000ms and
maxPollingRetries=30, giving only 2.5 minutes for the API to respond.
This is insufficient for the Abstractive Summarization long-running
operation, which can take longer under load, causing flaky
TimeoutException failures.

All other LRO test suites (ExtractiveSummarization, Healthcare,
SentimentAnalysis, etc.) use the class defaults (pollingDelay=1000ms,
maxPollingRetries=1000), which provides a much more generous timeout.

Remove the explicit overrides so AbstractiveSummarizationSuite is
consistent with the other LRO test suites.
@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown

Hey @BrendanWalsh 👋!
Thank you so much for contributing to our repository 🙌.
Someone from SynapseML Team will be reviewing this pull request soon.

We use semantic commit messages to streamline the release process.
Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix.
This helps us to create release messages and credit you for your hard work!

Examples of commit messages with semantic prefixes:

  • fix: Fix LightGBM crashes with empty partitions
  • feat: Make HTTP on Spark back-offs configurable
  • docs: Update Spark Serving usage
  • build: Add codecov support
  • perf: improve LightGBM memory usage
  • refactor: make python code generation rely on classes
  • style: Remove nulls from CNTKModel
  • test: Add test coverage for CNTKModel

To test your commit locally, please follow our guild on building from source.
Check out the developer guide for additional guidance on testing your change.

@BrendanWalsh BrendanWalsh merged commit 32fc562 into master Feb 9, 2026
8 checks passed
@BrendanWalsh BrendanWalsh deleted the fix-abstractive-summarization-timeout branch February 9, 2026 22:53
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.

1 participant