Remove unsupported parallel testing
This commit is contained in:
parent
c9d8be9ab5
commit
2474a3a54b
|
@ -44,7 +44,6 @@ func TestGather(t *testing.T) {
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
test := test
|
test := test
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
t.Parallel()
|
|
||||||
var acc testutil.Accumulator
|
var acc testutil.Accumulator
|
||||||
n.Servers = test.servers
|
n.Servers = test.servers
|
||||||
n.Gather(&acc)
|
n.Gather(&acc)
|
||||||
|
@ -334,7 +333,6 @@ func TestParseXML(t *testing.T) {
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
test := test
|
test := test
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
t.Parallel()
|
|
||||||
var acc testutil.Accumulator
|
var acc testutil.Accumulator
|
||||||
err := n.parseXML(&acc, []byte(test.xmlResponse))
|
err := n.parseXML(&acc, []byte(test.xmlResponse))
|
||||||
if (err != nil) != test.wantErr {
|
if (err != nil) != test.wantErr {
|
||||||
|
|
Loading…
Reference in New Issue