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 test under thread fuzzer #12154

Merged
merged 4 commits into from
Jul 6, 2020
Merged

Conversation

alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@blinkov blinkov added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jul 6, 2020
@@ -19,7 +19,7 @@ threads=10
count_multiplier=1
max_time_ms=1000

debug_or_sanitizer_build=`$CLICKHOUSE_CLIENT -q "WITH ((SELECT value FROM system.build_options WHERE name='BUILD_TYPE') AS build, (SELECT value FROM system.build_options WHERE name='CXX_FLAGS') as flags) SELECT build='Debug' OR flags LIKE '%fsanitize%'"`
debug_or_sanitizer_build=`$CLICKHOUSE_CLIENT -q "WITH ((SELECT value FROM system.build_options WHERE name='BUILD_TYPE') AS build, (SELECT value FROM system.build_options WHERE name='CXX_FLAGS') as flags) SELECT build='Debug' OR flags LIKE '%fsanitize%' OR hasThreadFuzzer()"`
Copy link
Member

Choose a reason for hiding this comment

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

Do I understand correctly, that thread fuzzer will be enabled for all test configurations? In this case it's probably better just to increase max_time_ms.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's unclear how it will be enabled, maybe it will be a separate test run
(but it happens to be useful both in ASan and TSan)

Copy link
Member Author

Choose a reason for hiding this comment

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

It will be perfect if it will be enabled for all tests including stress and integration (and not including performance).
But I'm still not sure - it can slow down tests too much.

@alexey-milovidov alexey-milovidov merged commit fd266ff into master Jul 6, 2020
@alexey-milovidov alexey-milovidov deleted the fix-test-under-thread-fuzzer branch July 6, 2020 16:49
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