airbnb / chronon

Chronon is a data platform for serving for AI/ML applications.
Apache License 2.0
745 stars 52 forks source link

Fix Flaky CI Failure: use isolated spark session and randomized namespace #842

Closed pengyu-hou closed 1 month ago

pengyu-hou commented 1 month ago

Summary

The unit test suite is running in parallel in CI. Due to the massive table creations, it might lead to racing condition during different test cases. This PR will create a different randomized namespace for each test case to isolate the table content. It should fix the flaky CI checks.

To further isolate the testing cases, different spark session to avoid interferences among different testing cases.

Why / Goal

Improve code quality and fix flaky testing CI

Test Plan

Checklist

Reviewers

@yuli-han @hzding621