mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-06 23:18:20 +00:00
start with cockroach test server
This commit is contained in:
parent
34783ba763
commit
169b1787df
17
internal/eventstore/v2/repository/blub_test.go
Normal file
17
internal/eventstore/v2/repository/blub_test.go
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
package repository
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/cockroachdb/cockroach/pkg/base"
|
||||||
|
"github.com/cockroachdb/cockroach/pkg/server"
|
||||||
|
"github.com/cockroachdb/cockroach/pkg/testutils/serverutils"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestBlub(t *testing.T) {
|
||||||
|
s, db, kvDB := serverutils.StartServer(t, base.TestServerArgs{})
|
||||||
|
defer s.Stopper().Stop()
|
||||||
|
// If really needed, in tests that can depend on server, downcast to
|
||||||
|
// server.TestServer:
|
||||||
|
ts := s.(*server.TestServer)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user