Skip to content

[master] Fix optimization_order opt to prevent test fails#65266

Merged
dwoz merged 4 commits intosaltstack:masterfrom
vzhestkov:fix-tests-with-optimization_order
Jan 30, 2026
Merged

[master] Fix optimization_order opt to prevent test fails#65266
dwoz merged 4 commits intosaltstack:masterfrom
vzhestkov:fix-tests-with-optimization_order

Conversation

@vzhestkov
Copy link
Contributor

What does this PR do?

Some tests contains incomplete list of optimization_order opt what can cause fails on running these tests when having optimized compiled pyc files for the modules.

Previous Behavior

Possible test fails if there are pyc files in place.

New Behavior

Normal test runs

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@vzhestkov vzhestkov requested a review from a team as a code owner September 22, 2023 11:58
@vzhestkov vzhestkov requested review from dwoz and removed request for a team September 22, 2023 11:58
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Fix optimization_order opt to prevent test fails [master] Fix optimization_order opt to prevent test fails Sep 22, 2023
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 12:15 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 12:15 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 12:15 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 12:15 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 12:34 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 12:41 — with GitHub Actions Inactive
@vzhestkov vzhestkov force-pushed the fix-tests-with-optimization_order branch from cf34b5f to c8ac512 Compare September 22, 2023 13:57
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 14:19 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 14:19 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 14:19 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 14:19 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 14:34 — with GitHub Actions Inactive
@vzhestkov vzhestkov temporarily deployed to ci September 22, 2023 14:43 — with GitHub Actions Inactive
@dwoz dwoz self-assigned this Dec 16, 2023
Copy link
Contributor

@dwoz dwoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than this I think we should ad a default value default value of [0,1,2]
in salt.loader.lazy.LazyLoader.__init__ and then remove all these configs from tests.

@twangboy twangboy force-pushed the fix-tests-with-optimization_order branch from 1f73fd2 to eeaa9ca Compare August 6, 2025 21:24
@dwoz dwoz merged commit 20a0980 into saltstack:master Jan 30, 2026
1415 of 1422 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants