Skip to content

Commit

Permalink
Increase connect-timeout in benchmark tests
Browse files Browse the repository at this point in the history
Currently, while using subctl benchmark tests, the client pod is
using a connect-timeout of 10ms which is too low. It was working
fine in KIND Clusters as the latency between the clusters is generally
less, but in an OnPrem vs Public cluster environments the benchmark
tests it was creating issues. This PR fixes the issue by increasing
the connect-timeout value to 10 secs.

Signed-Off-by: Sridhar Gaddam <sgaddam@redhat.com>
(cherry picked from commit 3a6730c)
  • Loading branch information
sridhargaddam authored and mangelajo committed May 4, 2021
1 parent d537cfe commit de2e5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/framework/network_pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func (np *NetworkPod) buildThroughputClientPod() {
{Name: "TARGET_PORT", Value: strconv.Itoa(np.Config.Port)},
{Name: "CONN_TRIES", Value: strconv.Itoa(int(np.Config.ConnectionAttempts))},
{Name: "RETRY_SLEEP", Value: strconv.Itoa(int(np.Config.ConnectionTimeout))},
{Name: "CONN_TIMEOUT", Value: strconv.Itoa(int(np.Config.ConnectionTimeout))},
{Name: "CONN_TIMEOUT", Value: strconv.Itoa(int(np.Config.ConnectionTimeout*1000))},
},
},
},
Expand Down

0 comments on commit de2e5b2

Please sign in to comment.