Skip bats that causes panic

This commit is contained in:
Taylor Bantle
2022-08-11 14:22:20 -07:00
parent 05935e41be
commit ae53d8a0ff
+1 -7
View File
@@ -1626,15 +1626,9 @@ SQL
}
@test "sql: USE tag doesn't create duplicate commit DB name" {
skip "unrelated panic when dolt_checkout is called after using a read-only revision db https://github.com/dolthub/dolt/issues/4067"
dolt add .; dolt commit -m 'commit tables'
dolt checkout -b feature-branch
dolt sql <<SQL
USE \`dolt_repo_$$/feature-branch\`;
CREATE TABLE a1(x int primary key);
insert into a1 values (1), (2), (3);
SELECT DOLT_COMMIT('-a', '-m', 'new table');
SQL
# get the last commit hash
hash=`dolt log | grep commit | cut -d" " -f2 | tail -n+1 | head -n1`