swarm/storage/localstore: remove parallel flag from tests

This commit is contained in:
Janos Guljas 2019-01-14 12:52:02 +01:00
parent a550388b4d
commit 1dae999982
3 changed files with 0 additions and 12 deletions

View file

@ -66,8 +66,6 @@ func TestDB(t *testing.T) {
// setting a custom testHookUpdateGC function with a sleep // setting a custom testHookUpdateGC function with a sleep
// and a count current and maximal number of goroutines. // and a count current and maximal number of goroutines.
func TestDB_updateGCSem(t *testing.T) { func TestDB_updateGCSem(t *testing.T) {
t.Parallel()
updateGCSleep := time.Second updateGCSleep := time.Second
var count int var count int
var max int var max int

View file

@ -32,8 +32,6 @@ import (
// all addresses are received in the right order // all addresses are received in the right order
// for expected proximity order bins. // for expected proximity order bins.
func TestDB_SubscribePull(t *testing.T) { func TestDB_SubscribePull(t *testing.T) {
t.Parallel()
db, cleanupFunc := newTestDB(t, nil) db, cleanupFunc := newTestDB(t, nil)
defer cleanupFunc() defer cleanupFunc()
@ -81,8 +79,6 @@ func TestDB_SubscribePull(t *testing.T) {
// validates if all addresses are received in the right order // validates if all addresses are received in the right order
// for expected proximity order bins. // for expected proximity order bins.
func TestDB_SubscribePull_multiple(t *testing.T) { func TestDB_SubscribePull_multiple(t *testing.T) {
t.Parallel()
db, cleanupFunc := newTestDB(t, nil) db, cleanupFunc := newTestDB(t, nil)
defer cleanupFunc() defer cleanupFunc()
@ -315,8 +311,6 @@ func TestDB_SubscribePull_until(t *testing.T) {
// and until arguments, and validates if all expected addresses // and until arguments, and validates if all expected addresses
// are received in the right order for expected proximity order bins. // are received in the right order for expected proximity order bins.
func TestDB_SubscribePull_sinceAndUntil(t *testing.T) { func TestDB_SubscribePull_sinceAndUntil(t *testing.T) {
t.Parallel()
db, cleanupFunc := newTestDB(t, nil) db, cleanupFunc := newTestDB(t, nil)
defer cleanupFunc() defer cleanupFunc()

View file

@ -31,8 +31,6 @@ import (
// push syncing subscription is created and validates if // push syncing subscription is created and validates if
// all addresses are received in the right order. // all addresses are received in the right order.
func TestDB_SubscribePush(t *testing.T) { func TestDB_SubscribePush(t *testing.T) {
t.Parallel()
db, cleanupFunc := newTestDB(t, nil) db, cleanupFunc := newTestDB(t, nil)
defer cleanupFunc() defer cleanupFunc()
@ -116,8 +114,6 @@ func TestDB_SubscribePush(t *testing.T) {
// multiple push syncing subscriptions are created and // multiple push syncing subscriptions are created and
// validates if all addresses are received in the right order. // validates if all addresses are received in the right order.
func TestDB_SubscribePush_multiple(t *testing.T) { func TestDB_SubscribePush_multiple(t *testing.T) {
t.Parallel()
db, cleanupFunc := newTestDB(t, nil) db, cleanupFunc := newTestDB(t, nil)
defer cleanupFunc() defer cleanupFunc()