5afe830 pkispawn: Make timeout consistent with IPA's startup_timeout

1 file Authored by slev 2 years ago, Committed by rcritten 2 years ago,
    pkispawn: Make timeout consistent with IPA's startup_timeout
    
    This is the experimental fix to workaround the issue with
    PKI on Azure Pipelines. PKI is the most sensitive to slow
    systems(at least, appropriate delays and timeouts should be
    adjusted for such).
    
    Somehow Azure's test envs became slower then they were earlier
    (for example, CA subsystem start changed
    ~(20-30)sec -> ~(45-60)sec). This triggered various issues with
    subsystems of PKI in CI.
    
    PKI honors `PKISPAWN_STARTUP_TIMEOUT_SECONDS` env variable (if
    not set the timeout is 60sec) for pkispawn tool. The default
    timeout is inconsistent with IPA's one (startup_timeout=120sec), which in
    particular, is used in ipa-pki-wait-running tool).
    
    Related: https://pagure.io/freeipa/issue/8830
    Signed-off-by: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Francois Cami <fcami@redhat.com>