diff --git a/internal/sql/pg/stats_test.go b/internal/sql/pg/stats_test.go index 6d49dac45..df9c75d06 100644 --- a/internal/sql/pg/stats_test.go +++ b/internal/sql/pg/stats_test.go @@ -58,32 +58,6 @@ func mkStatsTestTableTx(t *testing.T, db *DB) sql.PreparedTx { return tx } -func TestStatsUpdates(t *testing.T) { - ctx := context.Background() - db := mkTestTableDB(t) - txOuter := mkStatsTestTableTx(t, db) - - txOuter.Execute(ctx, "--ping") - - tx, err := txOuter.BeginTx(ctx) - require.NoError(t, err) - t.Cleanup(func() { - tx.Rollback(ctx) - }) - - // insert some stuff - tbl := `colcheck` - _, err = tx.Execute(ctx, `INSERT INTO `+tbl+` VALUES(0, 123, 'asdf')`) - require.NoError(t, err) - - err = tx.Commit(ctx) - require.NoError(t, err) - - // commit tx - - // need to use precommit and get the stats to see what happened! -} - func TestTableStats(t *testing.T) { ctx := context.Background() db := mkTestTableDB(t)