Skip to content

Commit 9900acc

Browse files
committed
Fix test
1 parent f64a3f0 commit 9900acc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

enginetest/engine_only_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,7 @@ func TestUnlockTables(t *testing.T) {
357357
catalog.LockTable(ctx, "foo")
358358
catalog.LockTable(ctx, "bar")
359359

360-
node := plan.NewUnlockTables()
361-
node.Catalog = catalog
362-
363-
_, err := node.RowIter(ctx, nil)
360+
err := catalog.UnlockTables(ctx, ctx.ID())
364361
require.NoError(err)
365362

366363
require.Equal(1, t1.unlocks)

0 commit comments

Comments
 (0)