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

fix(regtests): Colored per-instance log #1971

Merged
merged 2 commits into from Oct 2, 2023

Conversation

dranikpg
Copy link
Contributor

No description provided.

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
pytest -m "${{inputs.filter}}" --json-report --json-report-file=report.json -svr dragonfly --ignore=dragonfly/replication_test.py
pytest -m "${{inputs.filter}}" --json-report --json-report-file=report.json dragonfly --ignore=dragonfly/replication_test.py --log-cli-level=INFO
Copy link
Contributor Author

@dranikpg dranikpg Oct 1, 2023

Choose a reason for hiding this comment

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

I don't think we need to see always all output. For failing tests its printed fully either way (due to log capture)

@@ -436,7 +436,6 @@ def target(self, key_cnt):
self.gen.key_cnt_target = key_cnt

async def _capture_db(self, port, target_db, keys):
eprint(f"Capture data on port {port}, db {target_db}")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was just annoying and carries no useful info

@dranikpg dranikpg marked this pull request as ready for review October 1, 2023 17:17
Copy link
Contributor

@kostasrim kostasrim left a comment

Choose a reason for hiding this comment

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

I will run a regtest job to check it out.

Edit 2, I think we can't :(

@dranikpg dranikpg merged commit bc48bed into dragonflydb:main Oct 2, 2023
7 checks passed
@dranikpg dranikpg deleted the pytest-impr branch November 9, 2023 09:19
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.

None yet

2 participants