hydra_unstable: change 5s timeout for init to 30s in tests

This commit is contained in:
Nick Cao 2022-07-02 16:10:37 +08:00
parent fc102563a6
commit 0ef69d1fab
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -217,6 +217,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postPatch = ''
# Change 5s timeout for init to 30s
substituteInPlace t/lib/HydraTestContext.pm \
--replace 'expectOkay(5, ("hydra-init"));' 'expectOkay(30, ("hydra-init"));'
'';
preCheck = ''
patchShebangs .
export LOGNAME=''${LOGNAME:-foo}