[ https://issues.apache.org/jira/browse/CASSANDRA-19820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872274#comment-17872274 ]
Michael Semb Wever commented on CASSANDRA-19820: ------------------------------------------------ +1 > Fix tests extending FuzzTestBase when running test-compression profile > ---------------------------------------------------------------------- > > Key: CASSANDRA-19820 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19820 > Project: Cassandra > Issue Type: Bug > Components: Local/Commit Log, Test/unit > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 5.0-rc2, 5.0.x, 5.x > > Time Spent: 10m > Remaining Estimate: 0h > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org