mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-12 17:08:36 +01:00
Freebsd test all root component (#2361)
* chore(tests): add all root component into FreeBSD check * change timeout for each component * add client tests execution measure * revert -p1 for client tests and explain why * measure duration of all test run
This commit is contained in:
parent
5ee9c77e90
commit
02f3105e48
17
.github/workflows/golang-test-freebsd.yml
vendored
17
.github/workflows/golang-test-freebsd.yml
vendored
@ -30,6 +30,17 @@ jobs:
|
||||
# -e - to faile on first error
|
||||
run: |
|
||||
set -e -x
|
||||
go build -o netbird client/main.go
|
||||
go test -timeout 5m -p 1 -failfast ./iface/...
|
||||
go test -timeout 5m -p 1 -failfast ./client/...
|
||||
time go build -o netbird client/main.go
|
||||
# check all component except management, since we do not support management server on freebsd
|
||||
time go test -timeout 1m -failfast ./base62/...
|
||||
# NOTE: without -p1 `client/internal/dns` will fail becasue of `listen udp4 :33100: bind: address already in use`
|
||||
time go test -timeout 8m -failfast -p 1 ./client/...
|
||||
time go test -timeout 1m -failfast ./dns/...
|
||||
time go test -timeout 1m -failfast ./encryption/...
|
||||
time go test -timeout 1m -failfast ./formatter/...
|
||||
time go test -timeout 1m -failfast ./iface/...
|
||||
time go test -timeout 1m -failfast ./route/...
|
||||
time go test -timeout 1m -failfast ./sharedsock/...
|
||||
time go test -timeout 1m -failfast ./signal/...
|
||||
time go test -timeout 1m -failfast ./util/...
|
||||
time go test -timeout 1m -failfast ./version/...
|
||||
|
Loading…
Reference in New Issue
Block a user