Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
shorten test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jlegrone committed Sep 20, 2021
1 parent 97ee5b7 commit e9784c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions temporaltest/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func TestNewServer(t *testing.T) {
}
defer w.Stop()

ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()

wfr, err := c.ExecuteWorkflow(
Expand Down Expand Up @@ -110,7 +110,7 @@ func BenchmarkRunWorkflow(b *testing.B) {

for i := 0; i < b.N; i++ {
func(b *testing.B) {
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()

wfr, err := c.ExecuteWorkflow(
Expand Down

0 comments on commit e9784c1

Please sign in to comment.