You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/internal/servers/controller/testing_test.go

21 lines
399 B

package controller
import (
"testing"
)
func Test_TestController(t *testing.T) {
t.Run("startup and shutdown", func(t *testing.T) {
t.Parallel()
tc := NewTestController(t, nil)
defer tc.Shutdown()
})
t.Run("start 2 controllers", func(t *testing.T) {
t.Parallel()
tc1 := NewTestController(t, nil)
tc2 := NewTestController(t, nil)
defer tc1.Shutdown()
defer tc2.Shutdown()
})
}