refactor: distributed load testing

This commit is contained in:
徐聪
2022-07-25 21:24:08 +08:00
parent 30ba539cdc
commit 60a6aebbcb
40 changed files with 1958 additions and 1280 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ type genericMessage struct {
Tasks []byte `json:"tasks,omitempty"`
}
type profileMessage struct {
Profile *Profile `json:"profile,omitempty"`
Tasks []byte `json:"tasks,omitempty"`
type task struct {
Profile *Profile `json:"profile,omitempty"`
TestCases []byte `json:"testcases,omitempty"`
}
func newGenericMessage(t string, data map[string]int64, nodeID string) (msg *genericMessage) {