mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 17:44:59 +09:00
GO-4500 Revive perf tests
This commit is contained in:
parent
7653e88ab4
commit
04989eb4d7
6 changed files with 7 additions and 7 deletions
|
@ -74,7 +74,7 @@ func iterate(prep *input, result internal.PerfResult) error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = internal.ExecuteCommand(internal.GrpcMetricsSetParameters())
|
||||
err = internal.ExecuteCommand(internal.GrpcInitialSetParameters())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ func iterate(prep *input, result internal.PerfResult) error {
|
|||
}
|
||||
|
||||
grpcurlCommands := []internal.Command{
|
||||
{internal.GrpcMetricsSetParameters(), ""},
|
||||
{internal.GrpcInitialSetParameters(), ""},
|
||||
{internal.GrpcWalletRecover(prep.Workspace, prep.Mnemonic), ""},
|
||||
{internal.GrpcWalletCreateSession(prep.Mnemonic), ""},
|
||||
accountSelect(prep),
|
||||
|
|
|
@ -169,11 +169,11 @@ func GrpcAccountCreate(workspace, networkMode, staging string) string {
|
|||
}' localhost:31007 anytype.ClientCommands.AccountCreate`
|
||||
}
|
||||
|
||||
func GrpcMetricsSetParameters() string {
|
||||
func GrpcInitialSetParameters() string {
|
||||
return `grpcurl -import-path ../anytype-heart/ -proto pb/protos/service/service.proto -plaintext -d '{
|
||||
"platform": "test",
|
||||
"version": "0.0.0-test"
|
||||
}' localhost:31007 anytype.ClientCommands.MetricsSetParameters`
|
||||
}' localhost:31007 anytype.ClientCommands.InitialSetParameters`
|
||||
}
|
||||
|
||||
func StartAnytypeBackground() error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue