Skip to content
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

Remove testing of execute bit of plugin-scripts #8999

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

berland
Copy link
Contributor

@berland berland commented Oct 21, 2024

This test file became irrelevant after 173ba86 where no built-in forward models need the extra text file with the line

EXECUTABLE somescript.xx

Ert still support this format, but there is no need to verify the scripts in the Ert repo to actually be executable.

Issue
Resolves #8998

Approach
✂️

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure unit tests pass locally after every commit (git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"')

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@berland berland changed the title Remove test testing execute bit of plugin-scripts Remove testing of execute bit of plugin-scripts Oct 21, 2024
@berland berland self-assigned this Oct 21, 2024
@berland berland requested a review from yngve-sk October 21, 2024 05:44
@berland berland added the release-notes:flaky-test-fix PR fixes a flaky test label Oct 21, 2024
@berland berland force-pushed the rm_irrelevant_test branch 2 times, most recently from 6bbbd84 to 32ce5aa Compare October 21, 2024 05:53
Copy link
Contributor

@yngve-sk yngve-sk left a comment

Choose a reason for hiding this comment

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

Nice catch🎣

@berland berland enabled auto-merge (rebase) October 21, 2024 10:03
This test file became irrelevant after 173ba86
where no built-in forward models need the extra text file with the line

  EXECUTABLE somescript.xx

The scripts in here still needs to be executable, but the responsibility
for verifying that is now on each forward model's integration test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:flaky-test-fix PR fixes a flaky test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure, test_validate_scripts, UnicodeDecodeError
2 participants