Skip to content

Commit

Permalink
Merge pull request #3796 from oasisprotocol/ptrus/fix/txsource-parallel
Browse files Browse the repository at this point in the history
go/tests/txsource: Bump parallel workload timeout
  • Loading branch information
ptrus committed Mar 18, 2021
2 parents 653d1aa + 4b58070 commit e6ab6a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Empty file added .changelog/3796.trivial.md
Empty file.
12 changes: 6 additions & 6 deletions go/oasis-node/cmd/debug/txsource/workload/parallel.go
Expand Up @@ -26,11 +26,11 @@ var Parallel = &parallel{
}

const (
parallelSendWaitTimeoutInterval = 60 * time.Second
parallelSendTimeoutInterval = 60 * time.Second
parallelConcurency = 200
parallelTxTransferAmount = 100
parallelTxFundInterval = 10
parallelSendWaitTimeout = 120 * time.Second
parallelSendTimeoutInterval = 60 * time.Second
parallelConcurency = 200
parallelTxTransferAmount = 100
parallelTxFundInterval = 10
)

var parallelLogger = logging.GetLogger("cmd/txsource/workload/parallel")
Expand Down Expand Up @@ -153,7 +153,7 @@ func (p *parallel) Run(
}()

select {
case <-time.After(parallelSendWaitTimeoutInterval):
case <-time.After(parallelSendWaitTimeout):
parallelLogger.Error("transactions not completed within timeout")
return fmt.Errorf("workload parallel: transactions not completed within timeout")

Expand Down

0 comments on commit e6ab6a0

Please sign in to comment.