2
0

Allow specifying LevelRepeatableRead

This commit is contained in:
Nathaniel Caza
2019-08-07 13:49:34 -05:00
parent ca9de51256
commit 9e3f51e5c6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -629,6 +629,7 @@ func TestConnBeginTxIsolation(t *testing.T) {
{sqlIso: sql.LevelDefault, pgIso: defaultIsoLevel},
{sqlIso: sql.LevelReadUncommitted, pgIso: "read uncommitted"},
{sqlIso: sql.LevelReadCommitted, pgIso: "read committed"},
{sqlIso: sql.LevelRepeatableRead, pgIso: "repeatable read"},
{sqlIso: sql.LevelSnapshot, pgIso: "repeatable read"},
{sqlIso: sql.LevelSerializable, pgIso: "serializable"},
}