You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2024/08/08 18:33:00 UTC
[jira] [Commented] (CASSANDRA-19820) Fix tests extending FuzzTestBase when running test-compression profile
[ https://issues.apache.org/jira/browse/CASSANDRA-19820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872100#comment-17872100 ]
Stefan Miklosovic commented on CASSANDRA-19820:
-----------------------------------------------
builds on the way
> 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: 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 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org