test: don't run datastore tests in parallel

We have timing dependencies in some of these tests.
This commit is contained in:
Steven Allen 2021-07-20 17:06:18 -07:00
parent 4a4c4886f7
commit 7afb11e00d

View File

@ -33,8 +33,6 @@ func TestDsPeerstore(t *testing.T) {
func TestDsAddrBook(t *testing.T) {
for name, dsFactory := range dstores {
t.Run(name+" Cacheful", func(t *testing.T) {
t.Parallel()
opts := DefaultOpts()
opts.GCPurgeInterval = 1 * time.Second
opts.CacheSize = 1024
@ -43,8 +41,6 @@ func TestDsAddrBook(t *testing.T) {
})
t.Run(name+" Cacheless", func(t *testing.T) {
t.Parallel()
opts := DefaultOpts()
opts.GCPurgeInterval = 1 * time.Second
opts.CacheSize = 0