Added skipped bats test for error in #751

This commit is contained in:
Zach Musgrave
2021-08-10 14:44:41 -07:00
parent 1096cef1fa
commit d82e8f7c5f

View File

@@ -10,7 +10,6 @@ teardown() {
teardown_common
}
@test "status: dolt version --feature" {
# bump this test with feature version bumps
run dolt version --feature
@@ -289,6 +288,21 @@ SQL
[[ "$output" =~ "1" ]] || false
}
@test "status: dolt reset with a renamed table" {
dolt sql <<SQL
CREATE TABLE one (
pk BIGINT PRIMARY KEY,
v1 BIGINT,
v2 BIGINT
);
SQL
dolt commit -am "added table"
dolt sql -q "rename table one to one_super"
skip "fails with error error: Failed to reset changes. cause: error: failed to write table back to database"
dolt reset --hard
}
@test "status: dolt reset works with commit hash ref" {
dolt sql -q "CREATE TABLE tb1 (pk int PRIMARY KEY);"
dolt sql -q "INSERT INTO tb1 values (1);"