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

Check for compression lib support before test exec #4443

Commits on Oct 2, 2018

  1. Check for compression lib support before test exec

    Before running CompactFilesTest.SentinelCompressionType, we should check
    whether zlib and snappy are supported.
    
    CompactFilesTest.SentinelCompressionType is a newly added test. Compilation and
    linking with different options, e.g. COMPILE_WITH_TSAN, COMPILE_WITH_ASAN, etc.
    lead to generation of different binaries. On the one hand, it's not clear why
    zlib or snappy is present under ASAN, but not under TSAN. On the other hand,
    changing the compilation flags for TSAN or ASAN seem a bigger change worth much
    more attention. To unblock the cont-runs, I suggest that we simply add these
    two checks at the beginning of the test, as we did for
    GeneralTableTest.ApproximateOffsetOfCompressed in table/table_test.cc.
    
    Future actions include invesigating the absence of zlib and snappy when
    compiling with TSAN, i.e. COMPILE_WITH_TSAN=1.
    riversand963 committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    89609c3 View commit details
    Browse the repository at this point in the history