From 1dae9999820b3788e4fd5d27f8837dc671864ee3 Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Mon, 14 Jan 2019 12:52:02 +0100 Subject: [PATCH] swarm/storage/localstore: remove parallel flag from tests --- swarm/storage/localstore/localstore_test.go | 2 -- swarm/storage/localstore/subscription_pull_test.go | 6 ------ swarm/storage/localstore/subscription_push_test.go | 4 ---- 3 files changed, 12 deletions(-) diff --git a/swarm/storage/localstore/localstore_test.go b/swarm/storage/localstore/localstore_test.go index 83d4e0d065..c7309d3cd8 100644 --- a/swarm/storage/localstore/localstore_test.go +++ b/swarm/storage/localstore/localstore_test.go @@ -66,8 +66,6 @@ func TestDB(t *testing.T) { // setting a custom testHookUpdateGC function with a sleep // and a count current and maximal number of goroutines. func TestDB_updateGCSem(t *testing.T) { - t.Parallel() - updateGCSleep := time.Second var count int var max int diff --git a/swarm/storage/localstore/subscription_pull_test.go b/swarm/storage/localstore/subscription_pull_test.go index a2cdf56eaf..5c99e0dec2 100644 --- a/swarm/storage/localstore/subscription_pull_test.go +++ b/swarm/storage/localstore/subscription_pull_test.go @@ -32,8 +32,6 @@ import ( // all addresses are received in the right order // for expected proximity order bins. func TestDB_SubscribePull(t *testing.T) { - t.Parallel() - db, cleanupFunc := newTestDB(t, nil) defer cleanupFunc() @@ -81,8 +79,6 @@ func TestDB_SubscribePull(t *testing.T) { // validates if all addresses are received in the right order // for expected proximity order bins. func TestDB_SubscribePull_multiple(t *testing.T) { - t.Parallel() - db, cleanupFunc := newTestDB(t, nil) defer cleanupFunc() @@ -315,8 +311,6 @@ func TestDB_SubscribePull_until(t *testing.T) { // and until arguments, and validates if all expected addresses // are received in the right order for expected proximity order bins. func TestDB_SubscribePull_sinceAndUntil(t *testing.T) { - t.Parallel() - db, cleanupFunc := newTestDB(t, nil) defer cleanupFunc() diff --git a/swarm/storage/localstore/subscription_push_test.go b/swarm/storage/localstore/subscription_push_test.go index 34742017c9..73e7c25f72 100644 --- a/swarm/storage/localstore/subscription_push_test.go +++ b/swarm/storage/localstore/subscription_push_test.go @@ -31,8 +31,6 @@ import ( // push syncing subscription is created and validates if // all addresses are received in the right order. func TestDB_SubscribePush(t *testing.T) { - t.Parallel() - db, cleanupFunc := newTestDB(t, nil) defer cleanupFunc() @@ -116,8 +114,6 @@ func TestDB_SubscribePush(t *testing.T) { // multiple push syncing subscriptions are created and // validates if all addresses are received in the right order. func TestDB_SubscribePush_multiple(t *testing.T) { - t.Parallel() - db, cleanupFunc := newTestDB(t, nil) defer cleanupFunc()