Skip to content

fix: resolve flaky dynalite integration test - #38

Merged
brunozoric merged 1 commit into
mainfrom
bruno/fix/flaky-dynalite
Aug 28, 2026
Merged

fix: resolve flaky dynalite integration test#38
brunozoric merged 1 commit into
mainfrom
bruno/fix/flaky-dynalite

Conversation

@brunozoric

Copy link
Copy Markdown
Contributor

Summary

  • Add waitForTableActive helper to dynalite.ts that polls DescribeTable until the table status is ACTIVE
  • Use it in pipeline.bulkAndRetry.test.ts after freshTables creates tables
  • Fixes intermittent ResourceNotFoundException in the "retries BatchWriteItem" test caused by dynalite not fully committing table state before writes begin

Test plan

  • yarn full passes (719 tests)
  • Ran the previously flaky test 5 times in a row — all passed
  • waitForTableActive is exported for use in other integration tests if needed

🤖 Generated with Claude Code

Add waitForTableActive helper that polls DescribeTable until ACTIVE
before writing to freshly created tables. Fixes intermittent
ResourceNotFoundException in the bulk+retry integration test.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@brunozoric
brunozoric merged commit 4233d6b into main Aug 28, 2026
6 checks passed
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