From a15b78c2d73cf7ae0c5b15166c9c5938e9ad8aed Mon Sep 17 00:00:00 2001 From: Jonathan Chappelow Date: Tue, 3 Sep 2024 09:22:42 -0500 Subject: [PATCH] remove todo test that will need the repl changeset work --- internal/sql/pg/stats_test.go | 26 -------------------------- 1 file changed, 26 deletions(-) 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)