blob: 80a173b2d468fd494e593bb7327be143823aa4db [file] [edit]
// Copyright 2019 Google LLC
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package events
import (
"context"
"testing"
"github.com/stretchr/testify/require"
bt_testutil "go.skia.org/infra/go/bt/testutil"
)
func TestInsertRetrieveBT(t *testing.T) {
project, instance, cleanup := bt_testutil.SetupBigTable(t, BT_TABLE, BT_COLUMN_FAMILY)
defer cleanup()
d, err := NewBTEventDB(context.Background(), project, instance, nil)
require.NoError(t, err)
testInsertRetrieve(t, d)
}