error in return value should be tested
This commit is contained in:
@@ -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() {
|
|||||||
|
|
||||||
// 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,
|
||||||
|
Reference in New Issue
Block a user