Skip to content

Chore: refactor flaky test#3294

Merged
georgesittas merged 1 commit intomainfrom
jo/fix_snowflakey_test
Oct 25, 2024
Merged

Chore: refactor flaky test#3294
georgesittas merged 1 commit intomainfrom
jo/fix_snowflakey_test

Conversation

@georgesittas
Copy link
Contributor

For some reason this test have been showing flaky behavior, in particular this error has come up a few times in CI:

>   ???
E   ImportError: cannot import name 'bar' from 'tests.core.test_model' (/home/circleci/project/sqlmesh/tests/core/test_model.py)

I suspect it may be triggered by global state, but I'm not sure yet what caused it (couldn't repro locally). I just rewrote this slightly in this PR with the hope it will address the flakiness.

@georgesittas georgesittas requested a review from a team October 25, 2024 16:07
@georgesittas georgesittas changed the title Chore: fix flaky test Chore: refactor flaky test Oct 25, 2024
@georgesittas georgesittas merged commit 0182df2 into main Oct 25, 2024
@georgesittas georgesittas deleted the jo/fix_snowflakey_test branch October 25, 2024 16:31
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.

3 participants