From 169b1787dfb5c997b462eba285838b3f7651ef5e Mon Sep 17 00:00:00 2001 From: adlerhurst Date: Wed, 30 Sep 2020 19:04:52 +0200 Subject: [PATCH] start with cockroach test server --- internal/eventstore/v2/repository/blub_test.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 internal/eventstore/v2/repository/blub_test.go diff --git a/internal/eventstore/v2/repository/blub_test.go b/internal/eventstore/v2/repository/blub_test.go new file mode 100644 index 0000000000..945cab1459 --- /dev/null +++ b/internal/eventstore/v2/repository/blub_test.go @@ -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) +}