short krb ticket lifetime, Dockerile renamed

This commit is contained in:
Ilya Golshtein 2020-09-02 11:39:58 +00:00
parent c227f91636
commit 1808a1e36c
4 changed files with 5 additions and 4 deletions

View File

@ -22,8 +22,8 @@ create_config() {
default_realm = $REALM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
ticket_lifetime = 15s
renew_lifetime = 15s
forwardable = true
# WARNING: We use weaker key types to simplify testing as stronger key types
# require the enhanced security JCE policy file to be installed. You should

View File

@ -7,8 +7,8 @@
default_realm = TEST.CLICKHOUSE.TECH
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
ticket_lifetime = 15s
renew_lifetime = 15s
forwardable = true
[realms]

View File

@ -116,6 +116,7 @@ def test_kafka_json_as_string_no_kdc(kafka_cluster):
kafka_produce('kafka_json_as_string_no_kdc', ['{"t": 123, "e": {"x": "woof"} }', '', '{"t": 124, "e": {"x": "test"} }', '{"F1":"V1","F2":{"F21":"V21","F22":{},"F23":"V23","F24":"2019-12-24T16:28:04"},"F3":"V3"}'])
kafka_cluster.pause_container('kafka_kerberos')
time.sleep(45) # wait for ticket expiration
instance.query('''
CREATE TABLE test.kafka_no_kdc (field String)