test: increase timeouts for nixos-rebuild

This commit is contained in:
Alexander Tomokhov 2024-01-11 07:00:19 +04:00
parent 0c8ada1a1b
commit 4d02caaf7e

View file

@ -155,7 +155,7 @@ steps:
API_TOKEN: API_TOKEN:
from_secret: USER_PASS from_secret: USER_PASS
TESTS_REPO: git+https://git.selfprivacy.org/alexoundos/selfprivacy-tests.git TESTS_REPO: git+https://git.selfprivacy.org/alexoundos/selfprivacy-tests.git
TIMEOUT_1: 100 TIMEOUT_1: 120
commands: commands:
- source $(nix build $TESTS_REPO#library --print-out-paths) - source $(nix build $TESTS_REPO#library --print-out-paths)
- retry $TIMEOUT_1 10 query-minimum-services - retry $TIMEOUT_1 10 query-minimum-services
@ -165,7 +165,7 @@ steps:
- enable-service ocserv - enable-service ocserv
- enable-service pleroma - enable-service pleroma
- nixos-rebuild Rebuild - nixos-rebuild Rebuild
- sleep 100 - sleep 180
- retry $TIMEOUT_1 10 query-all-services - retry $TIMEOUT_1 10 query-all-services
- nixos-rebuild Rollback - nixos-rebuild Rollback
- sleep 30 - sleep 30