+3
-1
carstore/repo_test.go
+3
-1
carstore/repo_test.go
···
16
appbsky "github.com/bluesky-social/indigo/api/bsky"
17
"github.com/bluesky-social/indigo/repo"
18
"github.com/bluesky-social/indigo/util"
19
-
sqlbs "github.com/ipfs/go-bs-sqlite3"
20
"github.com/ipfs/go-cid"
21
flatfs "github.com/ipfs/go-ds-flatfs"
22
blockstore "github.com/ipfs/go-ipfs-blockstore"
···
452
}
453
}
454
455
func BenchmarkRepoWritesSqlite(b *testing.B) {
456
ctx := context.TODO()
457
···
489
head = nroot
490
}
491
}
492
493
func TestDuplicateBlockAcrossShards(ot *testing.T) {
494
ctx := context.TODO()
···
16
appbsky "github.com/bluesky-social/indigo/api/bsky"
17
"github.com/bluesky-social/indigo/repo"
18
"github.com/bluesky-social/indigo/util"
19
+
//sqlbs "github.com/ipfs/go-bs-sqlite3"
20
"github.com/ipfs/go-cid"
21
flatfs "github.com/ipfs/go-ds-flatfs"
22
blockstore "github.com/ipfs/go-ipfs-blockstore"
···
452
}
453
}
454
455
+
/* NOTE(bnewbold): this depends on github.com/ipfs/go-bs-sqlite3, which rewrote git history (?) breaking the dependency tree. We can roll forward, but that will require broad dependency updates. So for now just removing this benchmark/perf test.
456
func BenchmarkRepoWritesSqlite(b *testing.B) {
457
ctx := context.TODO()
458
···
490
head = nroot
491
}
492
}
493
+
*/
494
495
func TestDuplicateBlockAcrossShards(ot *testing.T) {
496
ctx := context.TODO()