mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
chore: improve test setup
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
tests
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.20-buster as builder
|
FROM golang:1.21-bullseye as builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -105,8 +105,6 @@ func (s *scenario) NewTailscaleNode(hostname string) TailscaleNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Run(t *testing.T, f func(s Scenario)) {
|
func Run(t *testing.T, f func(s Scenario)) {
|
||||||
t.Parallel()
|
|
||||||
|
|
||||||
if testing.Short() {
|
if testing.Short() {
|
||||||
t.Skip("skipped due to -short flag")
|
t.Skip("skipped due to -short flag")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user