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 goimports 2019-01-22 15:44:31 -08:00
autopilot_test.go Refactor redundancy_zone/upgrade_version out of client meta 2018-01-29 20:03:38 -08:00
schema.go goimports 2019-01-22 15:44:31 -08:00
schema_test.go goimports 2019-01-22 15:44:31 -08:00
state_store.go acl_endpoint: permission denied for unauthenticated requests 2019-11-22 08:43:09 -05:00
state_store_oss.go sync 2017-10-13 14:36:02 -07:00
state_store_test.go tests: parallelize state store tests 2019-12-11 09:36:37 -06:00
testing.go goimports 2019-01-22 15:44:31 -08:00
testing_oss.go goimports 2019-01-22 15:44:31 -08:00