From b0a5cdfb07d3644c910d9ff74a056e5585c40055 Mon Sep 17 00:00:00 2001 From: Albert Zaharovits Date: Tue, 19 Oct 2021 23:01:41 +0300 Subject: [PATCH] TEST Ensure password 14 chars length on Kerberos FIPS tests (#79496) (#79510) --- .../krb5kdc-fixture/src/main/resources/provision/peppa.sh | 4 ++-- x-pack/qa/kerberos-tests/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/fixtures/krb5kdc-fixture/src/main/resources/provision/peppa.sh b/test/fixtures/krb5kdc-fixture/src/main/resources/provision/peppa.sh index 815a9e94e8cb5..da6480d891af7 100644 --- a/test/fixtures/krb5kdc-fixture/src/main/resources/provision/peppa.sh +++ b/test/fixtures/krb5kdc-fixture/src/main/resources/provision/peppa.sh @@ -5,9 +5,9 @@ set -e addprinc.sh elasticsearch addprinc.sh HTTP/localhost addprinc.sh peppa -addprinc.sh george dino +addprinc.sh george dino_but_longer_than_14_chars # Use this as a signal that setup is complete python3 -m http.server 4444 & -sleep infinity \ No newline at end of file +sleep infinity diff --git a/x-pack/qa/kerberos-tests/build.gradle b/x-pack/qa/kerberos-tests/build.gradle index 23040f5725edc..4ccad6c71869d 100644 --- a/x-pack/qa/kerberos-tests/build.gradle +++ b/x-pack/qa/kerberos-tests/build.gradle @@ -53,7 +53,7 @@ tasks.named("integTest").configure { nonInputProperties.systemProperty 'test.userkt', "peppa@${realm}" nonInputProperties.systemProperty 'test.userkt.keytab', "${peppaKeytab}" nonInputProperties.systemProperty 'test.userpwd', "george@${realm}" - systemProperty 'test.userpwd.password', "dino" + systemProperty 'test.userpwd.password', "dino_but_longer_than_14_chars" systemProperty 'tests.security.manager', 'true' jvmArgs([ "-Djava.security.krb5.conf=${project(':test:fixtures:krb5kdc-fixture').ext.krb5Conf("peppa")}",