Skip to content

Ignored simple tests#1331

Open
adamkankovsky wants to merge 3 commits into
rhinstaller:mainfrom
adamkankovsky:ignored-simple-tests
Open

Ignored simple tests#1331
adamkankovsky wants to merge 3 commits into
rhinstaller:mainfrom
adamkankovsky:ignored-simple-tests

Conversation

@adamkankovsky

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +48 to +54
CONFIG_FILE_PATH = '/tmp/ignored_simple_tests.conf'

# Read additional ignored messages from the config file
if os.path.isfile(CONFIG_FILE_PATH):
with open(CONFIG_FILE_PATH, 'r') as config_file:
extra_ignored_tests = [line.strip() for line in config_file if line.strip()]
# Extend the ignored_simple_tests list
ignored_simple_tests.extend(extra_ignored_tests)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This solution is not inline with what we are doing elsewhere and also it will be taken by all the tests in parallel because the file is available to all.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right, it didn't occur to me that it actually behaves that way. I've edited the code and it should be fine now. I've tested everything.

@adamkankovsky adamkankovsky force-pushed the ignored-simple-tests branch 3 times, most recently from 38d6be1 to 4fe479b Compare November 7, 2024 12:36
@adamkankovsky

Copy link
Copy Markdown
Contributor Author

/test-os-variants

@adamkankovsky

Copy link
Copy Markdown
Contributor Author

/test-tmt

@KKoukiou KKoukiou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you revert the merged PR with the adjust pre-install test as part of this PR so that we can test that it works :)

@adamkankovsky

Copy link
Copy Markdown
Contributor Author

/test-tmt

@adamkankovsky

Copy link
Copy Markdown
Contributor Author

/test-os-variants

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