test/integration: run parallel tests concurrently with serial tests

Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
Monis Khan
2021-08-26 12:59:52 -04:00
parent 475da05185
commit 74daa1da64
14 changed files with 132 additions and 28 deletions
+4 -1
View File
@@ -24,7 +24,10 @@ import (
"go.pinniped.dev/test/testlib/browsertest"
)
func TestFormPostHTML(t *testing.T) {
// safe to run in parallel with serial tests since it only interacts with a test local server, see main_test.go.
func TestFormPostHTML_Parallel(t *testing.T) {
_ = testlib.IntegrationEnv(t)
// Run a mock callback handler, simulating the one running in the CLI.
callbackURL, expectCallback := formpostCallbackServer(t)