Skip to content

Commit

Permalink
tests: Disable strict_is_not_null_in_views for scylla clusters
Browse files Browse the repository at this point in the history
This change allows `test_metadata_with_quoted_identifiers` to run, as it
tries to create materialized view with IS NOT NULL restriction on values
  • Loading branch information
k0machi authored and fruch committed Oct 23, 2023
1 parent 11b3ac1 commit 64e7fad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,10 @@ def use_cluster(cluster_name, nodes, ipformat=None, start=True, workloads=None,
# Selecting only features we need for tests, i.e. anything but CDC.
CCM_CLUSTER = CCMScyllaCluster(path, cluster_name, **ccm_options)
CCM_CLUSTER.set_configuration_options({'experimental_features': ['lwt', 'udf'], 'start_native_transport': True})

# Permit IS NOT NULL restriction on non-primary key columns of a materialized view
# This allows `test_metadata_with_quoted_identifiers` to run
CCM_CLUSTER.set_configuration_options({'strict_is_not_null_in_views': False})
else:
CCM_CLUSTER = CCMCluster(path, cluster_name, **ccm_options)
CCM_CLUSTER.set_configuration_options({'start_native_transport': True})
Expand Down

0 comments on commit 64e7fad

Please sign in to comment.