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

Normalize hostname in stateless tests #27093

Merged
merged 1 commit into from Aug 3, 2021
Merged

Conversation

amosbird
Copy link
Collaborator

@amosbird amosbird commented Aug 2, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Normalize hostname in stateless tests. Just in case we will test hostName() function.

Detailed description / Documentation draft:
.

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 2, 2021
@qoega
Copy link
Member

qoega commented Aug 2, 2021

What about logs?

@amosbird
Copy link
Collaborator Author

amosbird commented Aug 2, 2021

What about logs?

I'm not sure. Maybe we can extend it later when needed.

@qoega qoega self-assigned this Aug 2, 2021
@@ -267,6 +268,9 @@ def run_single_test(args, ext, server_logs_level, client_options, case_file, std
os.system("LC_ALL=C sed -i -e 's|/auto_{{shard}}||g' {file}".format(file=stdout_file))
os.system("LC_ALL=C sed -i -e 's|auto_{{replica}}||g' {file}".format(file=stdout_file))

# Normalize hostname in stdout, stderr files.
Copy link
Member

Choose a reason for hiding this comment

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

Comment about out and err files, but you change only one file. Is it as expected?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's not. Fixed.

@qoega qoega merged commit 30851ae into ClickHouse:master Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants