Skip to content

Commit

Permalink
remove todo test that will need the repl changeset work
Browse files Browse the repository at this point in the history
  • Loading branch information
jchappelow committed Sep 3, 2024
1 parent 082966a commit a15b78c
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions internal/sql/pg/stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a15b78c

Please sign in to comment.