Add Parallel NetOBD tests to saturate all nodes at once (#9241)

This commit is contained in:
Sidhartha Mani
2020-03-31 17:08:28 -07:00
committed by GitHub
parent 30707659b5
commit c8243706b4
3 changed files with 34 additions and 3 deletions
+1
View File
@@ -1494,6 +1494,7 @@ func (a adminAPIHandlers) OBDInfoHandler(w http.ResponseWriter, r *http.Request)
if net, ok := vars["perfnet"]; ok && net == "true" && globalIsDistXL {
obdInfo.Perf.Net = append(obdInfo.Perf.Net, globalNotificationSys.NetOBDInfo(deadlinedCtx))
obdInfo.Perf.Net = append(obdInfo.Perf.Net, globalNotificationSys.DispatchNetOBDInfo(deadlinedCtx)...)
obdInfo.Perf.NetParallel = globalNotificationSys.NetOBDParallelInfo(deadlinedCtx)
partialWrite()
}