Commit af0fc11d authored by tanshanshan's avatar tanshanshan

error in return value should be tested

parent 28b6fb5f
...@@ -608,6 +608,7 @@ var _ = SIGDescribe("Density", func() { ...@@ -608,6 +608,7 @@ var _ = SIGDescribe("Density", func() {
timeout := time.Duration(totalPods/podThroughput)*time.Second + 3*time.Minute timeout := time.Duration(totalPods/podThroughput)*time.Second + 3*time.Minute
// createClients is defined in load.go // createClients is defined in load.go
clients, internalClients, scalesClients, err := createClients(numberOfCollections) clients, internalClients, scalesClients, err := createClients(numberOfCollections)
framework.ExpectNoError(err)
for i := 0; i < numberOfCollections; i++ { for i := 0; i < numberOfCollections; i++ {
nsName := namespaces[i].Name nsName := namespaces[i].Name
secretNames := []string{} secretNames := []string{}
...@@ -671,7 +672,7 @@ var _ = SIGDescribe("Density", func() { ...@@ -671,7 +672,7 @@ var _ = SIGDescribe("Density", func() {
// Single client is running out of http2 connections in delete phase, hence we need more. // Single client is running out of http2 connections in delete phase, hence we need more.
clients, internalClients, scalesClients, err = createClients(2) clients, internalClients, scalesClients, err = createClients(2)
framework.ExpectNoError(err)
dConfig := DensityTestConfig{ dConfig := DensityTestConfig{
ClientSets: clients, ClientSets: clients,
InternalClientsets: internalClients, InternalClientsets: internalClients,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment