Skip to content

Fix test under thread fuzzer#12154

Merged
alexey-milovidov merged 4 commits intomasterfrom
fix-test-under-thread-fuzzer
Jul 6, 2020
Merged

Fix test under thread fuzzer#12154
alexey-milovidov merged 4 commits intomasterfrom
fix-test-under-thread-fuzzer

Conversation

@alexey-milovidov
Copy link
Copy Markdown
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
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

3 participants