nixos/opensnitch: Set connection timeout of 3s for faster tests (#525893)
This commit is contained in:
@@ -88,10 +88,10 @@ in
|
||||
lib.concatLines (
|
||||
map (m: ''
|
||||
client_blocked_${m}.wait_for_unit("opensnitchd.service")
|
||||
client_blocked_${m}.fail("curl http://server")
|
||||
client_blocked_${m}.fail("curl --connect-timeout 3 http://server")
|
||||
|
||||
client_allowed_${m}.wait_for_unit("opensnitchd.service")
|
||||
client_allowed_${m}.succeed("curl http://server")
|
||||
client_allowed_${m}.succeed("curl --connect-timeout 3 http://server")
|
||||
'') monitorMethods
|
||||
)
|
||||
+ ''
|
||||
|
||||
Reference in New Issue
Block a user