From c3f762e54a23366824e944580932354774b98052 Mon Sep 17 00:00:00 2001 From: paulm2 Date: Wed, 22 Nov 2023 14:56:12 +0000 Subject: [PATCH] cicd: use latest docker --- projects/vdk-plugins/vdk-kerberos-auth/.plugin-ci.yml | 1 - .../vdk-plugins/vdk-kerberos-auth/tests/test_kerberos.py | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/projects/vdk-plugins/vdk-kerberos-auth/.plugin-ci.yml b/projects/vdk-plugins/vdk-kerberos-auth/.plugin-ci.yml index 455383f35f..b092d4bfdf 100644 --- a/projects/vdk-plugins/vdk-kerberos-auth/.plugin-ci.yml +++ b/projects/vdk-plugins/vdk-kerberos-auth/.plugin-ci.yml @@ -7,7 +7,6 @@ variables: PLUGIN_NAME: vdk-kerberos-auth script: - - openssl version # krb5-user is a requirement for the tests because the Kerberos server is configured via kadmin - export DEBIAN_FRONTEND=noninteractive - apt-get update diff --git a/projects/vdk-plugins/vdk-kerberos-auth/tests/test_kerberos.py b/projects/vdk-plugins/vdk-kerberos-auth/tests/test_kerberos.py index 5b5faa05b5..0c2fb225dd 100644 --- a/projects/vdk-plugins/vdk-kerberos-auth/tests/test_kerberos.py +++ b/projects/vdk-plugins/vdk-kerberos-auth/tests/test_kerberos.py @@ -38,7 +38,10 @@ def setUp(self) -> None: def test_no_authentication(self): with mock.patch.dict( os.environ, - {"VDK_KRB_AUTH_FAIL_FAST": "true"}, + { + "VDK_KRB_AUTH_FAIL_FAST": "true", + "VDK_LOG_EXECUTION_RESULT": "True", + }, ): result: Result = self.__runner.invoke( ["run", jobs_path_from_caller_directory("test-job")] @@ -67,6 +70,7 @@ def test_kinit_authentication(self): "VDK_KRB_AUTH": "kinit", "VDK_KRB_AUTH_FAIL_FAST": "true", "VDK_KRB5_CONF_FILENAME": krb5_conf_filename, + "VDK_LOG_EXECUTION_RESULT": "True", }, ): result: Result = self.__runner.invoke( @@ -211,6 +215,7 @@ def test_minikerberos_authentication(self): "VDK_KEYTAB_REALM": "EXAMPLE.COM", "VDK_KERBEROS_KDC_HOST": "localhost", "VDK_KRB5_CONF_FILENAME": krb5_conf_filename, + "VDK_LOG_EXECUTION_RESULT": "True", }, ): result: Result = self.__runner.invoke(