Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19820

Fix tests extending FuzzTestBase when running test-compression profile

    XMLWordPrintableJSON

Details

    Description

      FuzzTestBase extends CQLTester.InMemory which uses jimfs filesystem instead of the real one. This does not play well with direct mode of commitlog_disk_access_mode. We fixed this in CASSANDRA-19779 by always setting it to mmap. This does not work when we run tests in test-compression profile because then it expects "standard" mode and if fails on asserts.

      The solution to fix test-compression profile is to set commitlog_disk_access_mode to mmap only in case it was indeed resolved to direct and not every time.

      Attachments

        1. CASSANDRA-19820_5-0_149_ci_summary.html
          5.38 MB
          Michael Semb Wever
        2. CASSANDRA-19820_5-0_149_results_details.tar.xz
          6.54 MB
          Michael Semb Wever

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              smiklosovic Stefan Miklosovic
              Stefan Miklosovic
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h