Skip to content

Commit

Permalink
addresses first round of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed May 30, 2024
1 parent 1772eb4 commit 2df5bf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions test/e2e/benchmark/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ func (b *BenchmarkTest) SetupNodes() error {
if pushConfig, err := trace.GetPushConfigFromEnv(); err == nil {
log.Print("Setting up trace push config")
for _, node := range b.Nodes() {
if err = node.Instance.SetEnvironmentVariable(trace.
PushBucketName, pushConfig.BucketName); err != nil {
if err = node.Instance.SetEnvironmentVariable(trace.PushBucketName, pushConfig.BucketName); err != nil {
return fmt.Errorf("failed to set TRACE_PUSH_BUCKET_NAME: %v", err)
}
if err = node.Instance.SetEnvironmentVariable(trace.PushRegion, pushConfig.Region); err != nil {
Expand Down
4 changes: 1 addition & 3 deletions test/e2e/benchmark/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,13 @@ type Manifest struct {
// consensus parameters
MaxBlockBytes int64

// other configs
// tracing configs, can be local or noop
// LocalTracingType can be "local" or "noop"
LocalTracingType string
PushTrace bool
// download traces from the s3 bucket
// only available when PushTrace is enabled
DownloadTraces bool

// other configs
UpgradeHeight int64
GovMaxSquareSize int64
}
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/testnet/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ type Node struct {
}

// PullRoundStateTraces retrieves the round state traces from a node.
// it will save it to the provided path.
// It will save them to the provided path.
func (n *Node) PullRoundStateTraces(path string) ([]trace.Event[schema.
RoundState], error,
RoundState], error,
) {
addr := n.AddressTracing()
log.Info().Str("Address", addr).Msg("Pulling round state traces")
Expand Down

0 comments on commit 2df5bf3

Please sign in to comment.