branch: elpa/bash-completion
commit 792eeed8c6dced575f460d8756ce8726a7004c17
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
Customize timeouts for the integration tests.
This change mainly sets a longer timeout for
bash-completion-short-command-timeout, to account for slower test
servers without slowing things down for interactive uses. This should
make CI builds less flaky.
---
test/bash-completion-integration-test.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/bash-completion-integration-test.el
b/test/bash-completion-integration-test.el
index c73ed1e367..6967023ecc 100644
--- a/test/bash-completion-integration-test.el
+++ b/test/bash-completion-integration-test.el
@@ -52,6 +52,10 @@ It must exit when given C-d as input.")
(list "--noediting"
"--noprofile"
"--rcfile" (expand-file-name "bashrc" test-env-dir)))
+ (bash-completion-short-command-timeout 3.0)
+ (bash-completion-command-timeout 10.0)
+ (bash-completion-initial-timeout 10.0)
+ (bash-completion-process-timeout 5.0)
(completion-ignore-case nil)
(completion-in-region-function 'completion--in-region)
(completion-cycle-threshold 20)