@echo " UNCONFIGURE=[true|false] - unconfigure selected test"
@echo " DEBUG=[true|false] - attach VPP to GDB"
@echo " TEST=[name1,name2...] - specific test(s) to run"
+ @echo " LABEL=[suite labels] - filter by suite labels, case insensitive (https://onsi.github.io/ginkgo/#spec-labels)"
@echo " SKIP=[name1,name2...] - specific test(s) to skip"
@echo " CPUS=[n] - number of cpus to allocate to each non-VPP container (default = 1)"
@echo " VPP_CPUS=[n] - number of cpus to allocate to each VPP container (default = 1)"
--unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST) --cpus=$(CPUS) \
--vppsrc=$(VPPSRC) --parallel=$(PARALLEL) --repeat=$(REPEAT) --cpu0=$(CPU0) \
--dryrun=$(DRYRUN) --skip=$(SKIP) --no_color=$(NO_COLOR) --timeout=$(TIMEOUT) \
- --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT); \
+ --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT) \
+ --label="$(LABEL)"; \
./script/compress.sh $$?
.PHONY: test-debug
--unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST) --cpus=$(CPUS) \
--vppsrc=$(VPPSRC) --parallel=$(PARALLEL) --repeat=$(REPEAT) --debug_build=true \
--cpu0=$(CPU0) --dryrun=$(DRYRUN) --skip=$(SKIP) --no_color=$(NO_COLOR) --timeout=$(TIMEOUT) \
- --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT); \
+ --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT) \
+ --label="$(LABEL)"; \
./script/compress.sh $$?
.PHONY: wipe-lcov
.$(HS_ROOT)/hs_test.sh --coverage=true --persist=$(PERSIST) --verbose=$(VERBOSE) \
--unconfigure=$(UNCONFIGURE) --debug=$(DEBUG) --test=$(TEST-HS) --cpus=$(CPUS) \
--vppsrc=$(VPPSRC) --cpu0=$(CPU0) --dryrun=$(DRYRUN) --skip=$(SKIP) --no_color=$(NO_COLOR) \
- --timeout=$(TIMEOUT) --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT); \
+ --timeout=$(TIMEOUT) --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT) \
+ --label="$(LABEL)"; \
./script/compress.sh $$?
$(MAKE) -C ../.. test-cov-post-standalone HS_TEST=1
docker run $(DOCKER_TTY) --rm $(DOCKER_CAPABILITIES) $(DOCKER_DEVICES) $(DOCKER_PROXY)\
-e BUILD_NUMBER=$(BUILD_NUMBER) $(DOCKER_VOLUMES) --name ginkgo hs-test/ginkgo \
.$(HS_ROOT)/hs_test.sh --test=$(TEST) --debug_build=true --leak_check=true --vppsrc=$(VPPSRC) --timeout=$(TIMEOUT) \
- --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT);
+ --ginkgo_timeout=$(GINKGO_TIMEOUT) --vpp_cpus=$(VPP_CPUS) --hs_root=$(HS_ROOT) --label="$(LABEL)";
# this is executed in a container by hs-test.sh
.PHONY: build-go
dryrun=
no_color=
hs_root=
+label=
for i in "$@"
do
--hs_root=*)
hs_root="${i#*=}"
cd $hs_root
+ ;;
+ --label=*)
+ label="${i#*=}"
+ ginkgo_args="$ginkgo_args --label-filter="$label" -v"
+ args="$args -verbose"
+ ;;
esac
done
s.CpusPerContainer = *NConfiguredCpus
}
-var _ = Describe("CpuPinningSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("CpuPinningSuite", Ordered, ContinueOnFailure, Label("CpuPinning"), func() {
var s CpuPinningSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("CpuPinningSuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("CpuPinningSuiteSolo", Ordered, ContinueOnFailure, Serial, Label("CpuPinning"), func() {
var s CpuPinningSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
s.AssertNotContains(log, "Operation timed out")
}
-var _ = Describe("EnvoyProxySuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("EnvoyProxySuite", Ordered, ContinueOnFailure, Label("Envoy", "Proxy", "VCL"), func() {
var s EnvoyProxySuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("EnvoyProxySuiteSolo", Ordered, ContinueOnFailure, func() {
+var _ = Describe("EnvoyProxySuiteSolo", Ordered, ContinueOnFailure, Label("Envoy", "Proxy"), func() {
var s EnvoyProxySuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
return s.Interfaces.Server.Peer.Ip4AddressString()
}
-var _ = Describe("HsiSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("HsiSuite", Ordered, ContinueOnFailure, Label("HSI"), func() {
var s HsiSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("HsiSoloSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("HsiSoloSuite", Ordered, ContinueOnFailure, Serial, Label("HSI"), func() {
var s HsiSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("HsiMWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("HsiMWSuite", Ordered, ContinueOnFailure, Serial, Label("HSI", "Solo", "MW"), func() {
var s HsiSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
return s.Interfaces.Tap.Ip4AddressString()
}
-var _ = Describe("Http1Suite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("Http1Suite", Ordered, ContinueOnFailure, Label("HTTP", "HTTP1"), func() {
var s Http1Suite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("Http1SuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("Http1SuiteSolo", Ordered, ContinueOnFailure, Serial, Label("HTTP", "HTTP1"), func() {
var s Http1Suite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("Http1MWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("Http1MWSuite", Ordered, ContinueOnFailure, Serial, Label("HTTP", "HTTP1", "MW"), func() {
var s Http1Suite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
)
}
-var _ = Describe("Http2Suite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("Http2Suite", Ordered, ContinueOnFailure, Label("HTTP", "HTTP2"), func() {
var s Http2Suite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("Http2SoloSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("Http2SoloSuite", Ordered, ContinueOnFailure, Serial, Label("HTTP", "HTTP2", "Solo"), func() {
var s Http2Suite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("Http2MWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("Http2MWSuite", Ordered, ContinueOnFailure, Serial, Label("HTTP", "HTTP2", "MW"), func() {
var s Http2Suite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
{ExtrasTestGroup, extrasTests},
}
-var _ = Describe("H2SpecSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("H2SpecSuite", Ordered, ContinueOnFailure, Label("HTTP", "HTTP2", "H2Spec"), func() {
var s Http2Suite
BeforeAll(func() {
s.SetupSuite()
return strings.Contains(string(report), expected)
}
-var _ = Describe("H2SpecClientSuite", Ordered, Serial, func() {
+var _ = Describe("H2SpecClientSuite", Ordered, Serial, Label("HTTP", "HTTP2", "H2Spec", "H2SpecClient"), func() {
var s Http2Suite
BeforeAll(func() {
s.SetupSuite()
s.Ports.Port1 = s.GeneratePort()
}
-var _ = Describe("IperfSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("IperfSuite", Ordered, ContinueOnFailure, Label("Iperf", "Linux"), func() {
var s IperfSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("IperfSuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("IperfSuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Iperf", "Linux"), func() {
var s IperfSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
s.AssertNotEqual(0, idx)
}
-var _ = Describe("LdpSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("LdpSuite", Ordered, ContinueOnFailure, Label("LDP", "VCL"), func() {
var s LdpSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("LdpSuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("LdpSuiteSolo", Ordered, ContinueOnFailure, Serial, Label("LDP", "VCL"), func() {
var s LdpSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("LdpMWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("LdpMWSuite", Ordered, ContinueOnFailure, Serial, Label("LDP", "VCL", "MW"), func() {
var s LdpSuite
BeforeAll(func() {
s.SetupSuite()
return s.Interfaces.TunnelServer.Ip4AddressString()
}
-var _ = Describe("MasqueSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("MasqueSuite", Ordered, ContinueOnFailure, Label("Masque", "Proxy", "ConnectProxy"), func() {
var s MasqueSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("MasqueSoloSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("MasqueSoloSuite", Ordered, ContinueOnFailure, Serial, Label("Masque", "Proxy", "ConnectProxy"), func() {
var s MasqueSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("MasqueMWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("MasqueMWSuite", Ordered, ContinueOnFailure, Serial, Label("Masque", "Proxy", "ConnectProxy", "MW"), func() {
var s MasqueSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
s.AssertNil(err, fmt.Sprint(err))
}
-var _ = Describe("NginxProxySuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("NginxProxySuite", Ordered, ContinueOnFailure, Label("Nginx", "Proxy", "LDP", "VCL"), func() {
var s NginxProxySuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("NginxProxySuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("NginxProxySuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Nginx", "Proxy", "LDP", "VCL"), func() {
var s NginxProxySuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
)
}
-var _ = Describe("NoTopoSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("NoTopoSuite", Ordered, ContinueOnFailure, Label("Generic"), func() {
var s NoTopoSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("NoTopoSuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("NoTopoSuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Generic"), func() {
var s NoTopoSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("NoTopoMWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("NoTopoMWSuite", Ordered, ContinueOnFailure, Serial, Label("Generic", "MW"), func() {
var s NoTopoSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
)
}
-var _ = Describe("NoTopo6Suite", Ordered, ContinueOnFailure, Label("IPv6"), func() {
+var _ = Describe("NoTopo6Suite", Ordered, ContinueOnFailure, Label("Generic", "IPv6"), func() {
var s NoTopo6Suite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("NoTopo6SuiteSolo", Ordered, ContinueOnFailure, Serial, Label("IPv6"), func() {
+var _ = Describe("NoTopo6SuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Generic", "IPv6"), func() {
var s NoTopo6Suite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
s.AssertNotEqual(0, idx)
}
-var _ = Describe("VethsSuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("VethsSuite", Ordered, ContinueOnFailure, Label("Veth"), func() {
var s VethsSuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("VethsSuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("VethsSuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Veth"), func() {
var s VethsSuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
s.AssertNotEqual(0, idx)
}
-var _ = Describe("Veths6Suite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("Veths6Suite", Ordered, ContinueOnFailure, Label("Veth", "IPv6"), func() {
var s Veths6Suite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("Veths6SuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("Veths6SuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Veth", "IPv6"), func() {
var s Veths6Suite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
}
-var _ = Describe("VppProxySuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("VppProxySuite", Ordered, ContinueOnFailure, Label("VPPproxy", "Proxy"), func() {
var s VppProxySuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("VppProxySuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("VppProxySuiteSolo", Ordered, ContinueOnFailure, Serial, Label("VPPproxy", "Proxy"), func() {
var s VppProxySuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("VppProxyMWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("VppProxyMWSuite", Ordered, ContinueOnFailure, Serial, Label("VPPproxy", "Proxy", "MW"), func() {
var s VppProxySuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("H2SpecProxySuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("H2SpecProxySuite", Ordered, ContinueOnFailure, Label("HTTP", "HTTP2", "H2Spec", "H2SpecProxy", "Proxy"), func() {
var s VppProxySuite
BeforeAll(func() {
s.SetupSuite()
return n, nil
}
-var _ = Describe("VppUdpProxySuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("VppUdpProxySuite", Ordered, ContinueOnFailure, Label("Proxy", "UDP", "UDPproxy", "VPPproxy"), func() {
var s VppUdpProxySuite
BeforeAll(func() {
s.SetupSuite()
}
})
-var _ = Describe("VppUdpProxySuiteSolo", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("VppUdpProxySuiteSolo", Ordered, ContinueOnFailure, Serial, Label("Proxy", "UDP", "UDPproxy", "VPPproxy"), func() {
var s VppUdpProxySuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("VppUdpProxyMWSuite", Ordered, ContinueOnFailure, Serial, func() {
+var _ = Describe("VppUdpProxyMWSuite", Ordered, ContinueOnFailure, Serial, Label("Proxy", "UDP", "UDPproxy", "VPPproxy", "MW"), func() {
var s VppUdpProxySuite
BeforeAll(func() {
s.SetupSuite()
pc := reflect.ValueOf(test).Pointer()
funcValue := runtime.FuncForPC(pc)
testName := filename + "/" + strings.Split(funcValue.Name(), ".")[2]
- It(testName, Label("SOLO", "VPP Multi-Worker"), func(ctx SpecContext) {
+ It(testName, func(ctx SpecContext) {
s.Log(testName + ": BEGIN")
test(&s)
}, SpecTimeout(TestTimeout))
}
})
-var _ = Describe("H2SpecUdpProxySuite", Ordered, ContinueOnFailure, func() {
+var _ = Describe("H2SpecUdpProxySuite", Ordered, ContinueOnFailure, Label("HTTP", "HTTP2", "UDP", "Proxy", "UDPproxy"), func() {
var s VppUdpProxySuite
BeforeAll(func() {
s.SetupSuite()
s.AssertEqual(0, tg.FailedCount)
}, SpecTimeout(TestTimeout))
}
-
})