internal/postgres: remove parallelism for tests
The parallel tests cause a race condition. Until we can
figure it out, run only one test at a time.
Trust: Jonathan Amsterdam
Run-TryBot: Jonathan Amsterdam
TryBot-Result: kokoro
@@ -19,7 +19,7 @@ const testTimeout = 5 * time.Second
var acquire func(*testing.T) (*DB, func())
func TestMain(m *testing.M) {
- RunDBTestsInParallel("discovery_postgres_test", 4, m, &acquire)
+ RunDBTestsInParallel("discovery_postgres_test", 1, m, &acquire)
}
func TestGetOldestUnprocessedIndexTime(t *testing.T) {
