Some clean up, completely skip TestErrorIfDangling

This commit is contained in:
Taylor Bantle
2023-01-12 16:40:46 -08:00
parent 6e88487eb9
commit f4e91667b0
2 changed files with 1 additions and 8 deletions
-5
View File
@@ -83,12 +83,7 @@ func (gcc *gcCopier) copyTablesToDir(ctx context.Context, tfp tableFilePersister
return nil, err
}
// file already exists
if exists {
// TODO(taylor)
// if gcc.writer.ContentLength() != uint64(tfp.ContentLength()) {
// return nil, fmt.Errorf("'%s' already exists with different contents.", filename)
// }
return []tableSpec{
{
name: addr,
+1 -3
View File
@@ -319,10 +319,8 @@ func TestPanicOnBadVersion(t *testing.T) {
}
func TestErrorIfDangling(t *testing.T) {
t.Skip("WriteValue errors with dangling ref error")
vs := newTestValueStore()
if vs.Format() == Format_DOLT {
t.Skip("WriteValue errors with dangling ref error")
}
r, err := NewRef(Bool(true), vs.Format())
require.NoError(t, err)