-
Notifications
You must be signed in to change notification settings - Fork 8
Splitting flaky test: AsyncKVStoreWriter #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis pull request introduces a new test for the Async KV Store writer in the Flink project. The changes span across three files: a GitHub workflow configuration, the build configuration file, and a test file. The primary goal is to add a new test for the Async KV Store writer and update the project's dependency management and test execution configuration. Changes
Sequence DiagramsequenceDiagram
participant Workflow
participant SBT
participant TestSuite
Workflow->>SBT: Trigger test
SBT->>TestSuite: Run AsyncKVStoreWriterTest
TestSuite-->>SBT: Test results
SBT-->>Workflow: Report test outcome
Possibly related PRs
Suggested Reviewers
Poem
Warning Review ran into problems🔥 ProblemsGitHub Actions: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository. Please grant the required permissions to the CodeRabbit GitHub App under the organization or repository settings. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/test_scala_no_spark.yaml (1)
68-68: Remove trailing spaces.Fix formatting issue.
- sbt "++ 2.12.18 online/testOnly -- -n catalystUtilHiveUdfTest" + sbt "++ 2.12.18 online/testOnly -- -n catalystUtilHiveUdfTest"🧰 Tools
🪛 yamllint (1.35.1)
[error] 68-68: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
📒 Files selected for processing (3)
.github/workflows/test_scala_no_spark.yaml(2 hunks)build.sbt(1 hunks)flink/src/test/scala/ai/chronon/flink/test/AsyncKVStoreWriterTest.scala(2 hunks)
🧰 Additional context used
📓 Learnings (1)
flink/src/test/scala/ai/chronon/flink/test/AsyncKVStoreWriterTest.scala (1)
Learnt from: piyush-zlai
PR: zipline-ai/chronon#33
File: cloud_aws/src/test/scala/ai/chronon/integrations/aws/DynamoDBKVStoreTest.scala:175-175
Timestamp: 2024-11-12T09:38:33.532Z
Learning: Hardcoding future timestamps in tests within `DynamoDBKVStoreTest.scala` is acceptable when data is generated and queried within the same time range, ensuring the tests remain valid over time.
🪛 yamllint (1.35.1)
.github/workflows/test_scala_no_spark.yaml
[error] 68-68: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (7)
- GitHub Check: table_utils_delta_format_spark_tests
- GitHub Check: other_spark_tests
- GitHub Check: mutation_spark_tests
- GitHub Check: join_spark_tests
- GitHub Check: scala_compile_fmt_fix
- GitHub Check: no_spark_scala_tests
- GitHub Check: fetcher_spark_tests
🔇 Additional comments (3)
flink/src/test/scala/ai/chronon/flink/test/AsyncKVStoreWriterTest.scala (1)
7-7: LGTM! Good approach to isolate flaky tests.The addition of TaggedFilterSuite and tagName enables running these tests in isolation.
Also applies to: 15-15, 64-64
.github/workflows/test_scala_no_spark.yaml (1)
54-56: LGTM! Test isolation step added correctly.The new step properly executes the tagged test in isolation.
build.sbt (1)
213-213: LGTM! Proper test dependency configuration.Added test->test scope for online dependency, enabling access to test utilities.
## Summary ^^^ ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new Async KV Store writer test to the workflow - Enhanced test suite with tagging capabilities - **Chores** - Updated project dependencies in build configuration - Refined GitHub Actions workflow configuration <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary ^^^ ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new Async KV Store writer test to the workflow - Enhanced test suite with tagging capabilities - **Chores** - Updated project dependencies in build configuration - Refined GitHub Actions workflow configuration <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary ^^^ ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new Async KV Store writer test to the workflow - Enhanced test suite with tagging capabilities - **Chores** - Updated project dependencies in build configuration - Refined GitHub Actions workflow configuration <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary ^^^ ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new Async KV Store writer test to the workflow - Enhanced test suite with tagging capabilities - **Chores** - Updated project dependencies in build configuration - Refined GitHub Actions workflow configuration <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary ^^^ ## Cheour clientslist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new Async KV Store writer test to the workflow - Enhanced test suite with tagging capabilities - **Chores** - Updated project dependencies in build configuration - Refined GitHub Actions workflow configuration <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
^^^
Checklist
Summary by CodeRabbit
New Features
Chores