change: upgrade funplugin to v0.3.0

This commit is contained in:
debugtalk
2022-03-17 16:53:54 +08:00
parent d8fdd9cd95
commit 1ce8d7123a
18 changed files with 6666 additions and 32 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ import (
"github.com/jinzhu/copier"
"github.com/rs/zerolog/log"
funcPlugin "github.com/httprunner/func-plugin"
"github.com/httprunner/funplugin"
"github.com/httprunner/hrp/internal/boomer"
"github.com/httprunner/hrp/internal/ga"
)
@@ -22,8 +22,8 @@ func NewBoomer(spawnCount int, spawnRate float64) *HRPBoomer {
type HRPBoomer struct {
*boomer.Boomer
plugins []funcPlugin.IPlugin // each task has its own plugin process
pluginsMutex *sync.RWMutex // avoid data race
plugins []funplugin.IPlugin // each task has its own plugin process
pluginsMutex *sync.RWMutex // avoid data race
}
// Run starts to run load test for one or multiple testcases.