We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09999a commit bb67e96Copy full SHA for bb67e96
scaletest/notifications/run_test.go
@@ -212,6 +212,8 @@ func TestRunWithSMTP(t *testing.T) {
212
smtpTrap := mClock.Trap().TickerFunc("smtp")
213
defer smtpTrap.Close()
214
215
+ httpClient := &http.Client{}
216
+
217
// Start receiving runners who will receive notifications
218
receivingRunners := make([]*notifications.Runner, 0, numReceivingUsers)
219
for i := range numReceivingUsers {
@@ -229,6 +231,7 @@ func TestRunWithSMTP(t *testing.T) {
229
231
ExpectedNotificationsIDs: expectedNotificationsIDs,
230
232
SMTPApiURL: smtpAPIServer.URL,
233
SMTPRequestTimeout: testutil.WaitLong,
234
+ SMTPHttpClient: httpClient,
235
}
236
err := runnerCfg.Validate()
237
require.NoError(t, err)
0 commit comments