diff --git a/lib/util/exec/index.spec.ts b/lib/util/exec/index.spec.ts
index f1aee6700d433390d7c34095a3f36f31e731886f..6480b8b54cd9ab819eeaddf94663c4e7e018d009 100644
--- a/lib/util/exec/index.spec.ts
+++ b/lib/util/exec/index.spec.ts
@@ -521,6 +521,28 @@ describe('util/exec/index', () => {
       },
     ],
 
+    [
+      'Explicit timeout',
+      {
+        processEnv,
+        inCmd,
+        inOpts: {
+          timeout: 20 * 60 * 1000,
+        },
+        outCmd,
+        outOpts: [
+          {
+            cwd,
+            encoding,
+            env: envMock.basic,
+            timeout: 20 * 60 * 1000,
+            maxBuffer: 10485760,
+          },
+        ],
+        adminConfig: { binarySource: 'docker' },
+      },
+    ],
+
     [
       'Explicit maxBuffer',
       {