Skip to content

Commit 4fd9760

Browse files
committed
wip
1 parent dce750d commit 4fd9760

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

enterprise/coderd/workspacequota_test.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,14 @@ func TestWorkspaceSerialization(t *testing.T) {
458458
two.UpdateWorkspaceBuildCostByID(ctx, t, 10)
459459

460460
// End commit
461-
require.NoError(t, one.Done())
462-
require.NoError(t, two.Done())
461+
err := one.Done()
462+
err2 := two.Done()
463+
require.NoError(t, err)
464+
require.NoError(t, err2)
463465
})
466+
467+
// TODO: Try to fail a non-repeatable read only transaction
468+
// Autobuild, then quota, then autobuild read agin in the same tx
464469
}
465470

466471
func deprecatedQuotaEndpoint(ctx context.Context, client *codersdk.Client, userID string) (codersdk.WorkspaceQuota, error) {

0 commit comments

Comments
 (0)