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

com.datastax.oss.driver.api.core.servererrors.InvalidQueryException: Virtual keyspace 'system_views' is not user-modifiable #329

Open
An-Nadein opened this issue Oct 12, 2021 · 0 comments

Comments

@An-Nadein
Copy link

An-Nadein commented Oct 12, 2021

setup:
jdk 17
junit 5
maven 3.6.3
cassandra driver 4.9

I'm getting com.datastax.oss.driver.api.core.servererrors.InvalidQueryException: Virtual keyspace 'system_views' is not user-modifiable when calling

@AfterAll
    public static void tearDown() {
        /**  cleaning consist in dropping all existing keyspace except "system" :*/
        /** At the moment there's no way to stop Cassandra. Cassandra is started in the same JVM as your tests. It will be shutdown when the JVM used by your tests is shutdown */
        EmbeddedCassandraServerHelper.cleanEmbeddedCassandra();
    }

I suspect it's due to the system_views being omitted in the EmbeddedCassandraServerHelper. What's the best way to fix it?

An-Nadein added a commit to An-Nadein/cassandra-unit that referenced this issue Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant