+3
-1
carstore/repo_test.go
+3
-1
carstore/repo_test.go
···
16
16
appbsky "github.com/bluesky-social/indigo/api/bsky"
17
17
"github.com/bluesky-social/indigo/repo"
18
18
"github.com/bluesky-social/indigo/util"
19
-
sqlbs "github.com/ipfs/go-bs-sqlite3"
19
+
//sqlbs "github.com/ipfs/go-bs-sqlite3"
20
20
"github.com/ipfs/go-cid"
21
21
flatfs "github.com/ipfs/go-ds-flatfs"
22
22
blockstore "github.com/ipfs/go-ipfs-blockstore"
···
452
452
}
453
453
}
454
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.
455
456
func BenchmarkRepoWritesSqlite(b *testing.B) {
456
457
ctx := context.TODO()
457
458
···
489
490
head = nroot
490
491
}
491
492
}
493
+
*/
492
494
493
495
func TestDuplicateBlockAcrossShards(ot *testing.T) {
494
496
ctx := context.TODO()
-1
go.mod
-1
go.mod
···
25
25
github.com/hashicorp/golang-lru/v2 v2.0.7
26
26
github.com/icrowley/fake v0.0.0-20221112152111-d7b7e2276db2
27
27
github.com/ipfs/go-block-format v0.2.0
28
-
github.com/ipfs/go-bs-sqlite3 v0.0.0-20221122195556-bfcee1be620d
29
28
github.com/ipfs/go-cid v0.4.1
30
29
github.com/ipfs/go-datastore v0.6.0
31
30
github.com/ipfs/go-ds-flatfs v0.5.1
-2
go.sum
-2
go.sum
···
184
184
github.com/ipfs/go-block-format v0.2.0/go.mod h1:+jpL11nFx5A/SPpsoBn6Bzkra/zaArfSmsknbPMYgzM=
185
185
github.com/ipfs/go-blockservice v0.5.2 h1:in9Bc+QcXwd1apOVM7Un9t8tixPKdaHQFdLSUM1Xgk8=
186
186
github.com/ipfs/go-blockservice v0.5.2/go.mod h1:VpMblFEqG67A/H2sHKAemeH9vlURVavlysbdUI632yk=
187
-
github.com/ipfs/go-bs-sqlite3 v0.0.0-20221122195556-bfcee1be620d h1:9V+GGXCuOfDiFpdAHz58q9mKLg447xp0cQKvqQrAwYE=
188
-
github.com/ipfs/go-bs-sqlite3 v0.0.0-20221122195556-bfcee1be620d/go.mod h1:pMbnFyNAGjryYCLCe59YDLRv/ujdN+zGJBT1umlvYRM=
189
187
github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s=
190
188
github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk=
191
189
github.com/ipfs/go-datastore v0.5.0/go.mod h1:9zhEApYMTl17C8YDp7JmU7sQZi2/wqiYh73hakZ90Bk=