2022-06-28 15:12:40

by Stefan Mahnke-Hartmann

[permalink] [raw]
Subject: [PATCH v2] selftests/tpm2: increase timeout for kselftests

From: Johannes Holland <[email protected]>

Due to CreatePrimary commands which need to create RSA keys of
increasing size, the timeout value need to be raised, as well.
Default is 45s.

Signed-off-by: Johannes Holland <[email protected]>
Signed-off-by: Stefan Mahnke-Hartmann <[email protected]>
---
Changelog:
* v2:
* Add maintainter to recipients
* Change subject
tools/testing/selftests/tpm2/settings | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 tools/testing/selftests/tpm2/settings

diff --git a/tools/testing/selftests/tpm2/settings b/tools/testing/selftests/tpm2/settings
new file mode 100644
index 000000000000..919bc3803f03
--- /dev/null
+++ b/tools/testing/selftests/tpm2/settings
@@ -0,0 +1,2 @@
+timeout=600
+
--
2.25.1


2022-06-29 02:52:56

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [PATCH v2] selftests/tpm2: increase timeout for kselftests

On Tue, Jun 28, 2022 at 04:39:27PM +0200, Stefan Mahnke-Hartmann wrote:
> From: Johannes Holland <[email protected]>
>
> Due to CreatePrimary commands which need to create RSA keys of
> increasing size, the timeout value need to be raised, as well.
> Default is 45s.
>
> Signed-off-by: Johannes Holland <[email protected]>
> Signed-off-by: Stefan Mahnke-Hartmann <[email protected]>
> ---
> Changelog:
> * v2:
> * Add maintainter to recipients
> * Change subject
> tools/testing/selftests/tpm2/settings | 2 ++
> 1 file changed, 2 insertions(+)
> create mode 100644 tools/testing/selftests/tpm2/settings
>
> diff --git a/tools/testing/selftests/tpm2/settings b/tools/testing/selftests/tpm2/settings
> new file mode 100644
> index 000000000000..919bc3803f03
> --- /dev/null
> +++ b/tools/testing/selftests/tpm2/settings
> @@ -0,0 +1,2 @@
> +timeout=600
> +
> --
> 2.25.1
>


Acked-by: Jarkko Sakkinen <[email protected]>

BR, Jarkko