open-nomad/nomad/state
Seth Hoenig d45dec1ca8 tests: parallelize state store tests
It has been decided we're going to live in a many core world.
Let's take advantage of that and parallelize these state store
tests which all run in memory and are largely CPU bound.

An unscientific benchmark demonstrating the improvement:

[mp state (master)] $ go test
PASS
ok  	github.com/hashicorp/nomad/nomad/state	5.162s

[mp state (f-parallelize-state-store-tests)] $ go test
PASS
ok  	github.com/hashicorp/nomad/nomad/state	1.527s
2019-12-11 09:36:37 -06:00
..
autopilot.go
autopilot_test.go
schema.go
schema_test.go
state_store.go acl_endpoint: permission denied for unauthenticated requests 2019-11-22 08:43:09 -05:00
state_store_oss.go
state_store_test.go tests: parallelize state store tests 2019-12-11 09:36:37 -06:00
testing.go
testing_oss.go