Skip to content

Update test_xattrs_grants_with_cbl.py #2085

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@ def test_xattrs_grant_automatic_imports(params_from_base_test_setup, x509_cert_a
# 2. Write a sync function to assign user xattrs value as channel
# Replace with sync function on sgw config to use user xattrs for channels
temp_sg_config = replace_xattrs_sync_func_in_config(sg_config, user_custom_channel)

# Reset cluster to ensure no data in system
disable_tls_server = params_from_base_test_setup["disable_tls_server"]
if x509_cert_auth and disable_tls_server:
pytest.skip("x509 test cannot run tls server disabled")
if x509_cert_auth:
temp_cluster_config = copy_to_temp_conf(cluster_config, mode)
persist_cluster_config_environment_prop(temp_cluster_config, 'x509_certs', True)
persist_cluster_config_environment_prop(temp_cluster_config, 'server_tls_skip_verify', False)
cluster_config = temp_cluster_config
c_cluster = cluster.Cluster(config=cluster_config)
c_cluster.reset(sg_config_path=temp_sg_config)

Expand Down