mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-18 00:52:40 +00:00
misc
This commit is contained in:
parent
dcd3551c4f
commit
018cc31617
5
justfile
5
justfile
|
@ -822,5 +822,6 @@ sys-deps-debian:
|
|||
./deps-debian.sh
|
||||
|
||||
local-tunnel-hostname:
|
||||
command -v wg-quick &> /dev/null || exit "You need to install Wireguard to run the tunnel/proxy. E.g. with: brew install wireguard-tools"
|
||||
([ -f tunnel.conf ] || curl https://tunnel.pyjam.as/{{PUBLIC_PORT}} > tunnel.conf) && (wg-quick up ./tunnel.conf || cat tunnel.conf) | pcregrep -o1 'https:\/\/([^/]+)'
|
||||
# command -v wg-quick &> /dev/null || exit "You need to install Wireguard to run the tunnel/proxy. E.g. with: brew install wireguard-tools"
|
||||
# ([ -f tunnel.conf ] || curl https://tunnel.pyjam.as/{{PUBLIC_PORT}} > tunnel.conf) && (wg-quick up ./tunnel.conf || cat tunnel.conf) | pcregrep -o1 'https:\/\/([^/]+)'
|
||||
# FIXME ^ hopefully tunnel.pyjam.as comes back up or we need to find an alternative
|
|
@ -429,6 +429,7 @@ if not Code.ensure_loaded?(Bonfire.Mixer) do
|
|||
fallback
|
||||
end
|
||||
|
||||
def ok_unwrap(:ok, fallback), do: fallback
|
||||
def ok_unwrap(:error, fallback), do: fallback
|
||||
def ok_unwrap(val, fallback), do: val || fallback
|
||||
end
|
||||
|
|
|
@ -11,7 +11,9 @@ ExUnit.configure(
|
|||
# Code.put_compiler_option(:nowarn_unused_vars, true)
|
||||
|
||||
ExUnit.start(
|
||||
timeout: 200_000,
|
||||
# miliseconds
|
||||
timeout: 120_000,
|
||||
assert_receive_timeout: 1000,
|
||||
exclude: Bonfire.Common.RuntimeConfig.skip_test_tags(),
|
||||
# only show log for failed tests (Can be overridden for individual tests via `@tag capture_log: false`)
|
||||
capture_log: true
|
||||
|
|
Loading…
Reference in a new issue