mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: remove parallel testing
We cannot do testing in parallel since leak testing will detect the goroutines in other tests running in parallel.
This commit is contained in:
parent
8c953499fa
commit
c7c0e1eb7a
@ -111,9 +111,6 @@ func TestKVPut(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestKVPutWithRequireLeader(t *testing.T) {
|
||||
// this test might block for a few seconds, make it parallel to speed up the test.
|
||||
t.Parallel()
|
||||
|
||||
defer testutil.AfterTest(t)
|
||||
|
||||
clus := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 3})
|
||||
@ -576,7 +573,6 @@ func TestKVGetCancel(t *testing.T) {
|
||||
|
||||
// TestKVPutStoppedServerAndClose ensures closing after a failed Put works.
|
||||
func TestKVPutStoppedServerAndClose(t *testing.T) {
|
||||
t.Parallel()
|
||||
defer testutil.AfterTest(t)
|
||||
clus := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1})
|
||||
defer clus.Terminate(t)
|
||||
|
@ -78,9 +78,6 @@ func TestV3PutOverwrite(t *testing.T) {
|
||||
|
||||
// TestPutRestart checks if a put after an unrelated member restart succeeds
|
||||
func TestV3PutRestart(t *testing.T) {
|
||||
// this test might block for 5 seconds, make it parallel to speed up the test.
|
||||
t.Parallel()
|
||||
|
||||
defer testutil.AfterTest(t)
|
||||
clus := NewClusterV3(t, &ClusterConfig{Size: 3})
|
||||
defer clus.Terminate(t)
|
||||
@ -979,8 +976,6 @@ func TestTLSGRPCAcceptSecureAll(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGRPCRequireLeader(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
defer testutil.AfterTest(t)
|
||||
|
||||
cfg := ClusterConfig{Size: 3}
|
||||
@ -1008,8 +1003,6 @@ func TestGRPCRequireLeader(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGRPCStreamRequireLeader(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
defer testutil.AfterTest(t)
|
||||
|
||||
cfg := ClusterConfig{Size: 3}
|
||||
|
Loading…
x
Reference in New Issue
Block a user